This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/712] fread() should not call read() again once the latter returns zero


------- Additional Comments From drepper at redhat dot com  2005-09-26 23:29 -------
This is deliberately not done and hasn't been in a long time.  There is an #if
in the code (in the underflow functions) to not do anything if EOF has been
reached but this has been causing problems at some point.  Enabling it today
also would mean making a change for no good reason which could break some
programs.  Just use feof() or feof_unlocked().

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/bugzilla/show_bug.cgi?id=712

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]