[Koha-bugs] [Bug 8437] Plack and database backup

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 22 05:59:25 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8437

Robin Sheat <robin at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robin at catalyst.net.nz

--- Comment #12 from Robin Sheat <robin at catalyst.net.nz> ---
(In reply to Jared Camins-Esakov from comment #10)
> Would using this syntax (borrowed from bug 7952) fix the problem?
> 
> + open(my $fh, '<', $filename)
> + print <$fh>;
> + close $fh;

If we're dealing with big binary files, this may consume a lot of memory before
it sees a newline. Also, we possibly run the risk of changing newlines if we're
ever different (or more lenient) from what we accept to what we output.
Needless to say, this is bad for binary files.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list