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

Robin Sheat <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #12 from Robin Sheat <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to