[gs-bugs] [Bug 692011] fz_read broken

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Wed Mar 2 09:54:30 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692011

--- Comment #1 from Tor Andersson <tor.andersson at artifex.com> 2011-03-02 09:54:28 UTC ---
We debated whether the loop was necessary, and came to the conclusion that it
should not be. All of the filter read functions always produce as many bytes as
requested unless there is an error or end of file. POSIX read() behaves the
same for files (but not network sockets, or when interrupted by a signal --
cases we don't care about).

Do you have an example of where this goes wrong?

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list