diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-09-22 03:07:51 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-09-22 03:07:51 +0000 |
commit | 9583669237be35d9adb90e673ce7841244499d55 (patch) | |
tree | 13a4bb58d397dd9307d1f75898f76ecd494c6b09 /libc/stdlib/malloc | |
parent | 755c973ce29b2da548470143151a10d5d85ad7d9 (diff) |
Modify _stdio_READ to conform with C99, as stdio input behavior upon
encountering EOF changed with Defect Report #141. In the current
standard, the stream's EOF indicator is "sticky". Once it is set,
all further input from the stream should fail until the application
explicitly clears the EOF indicator (clearerr(), file positioning),
even if more data becomes available.
Fixed a bug in fgets. Wasn't checking for read errors.
Minor thread locking optimizations to avoid some unnecessary locking.
Remove the explicit calls to __builtin_* funcs, as we really need to
implement a more general solution.
Diffstat (limited to 'libc/stdlib/malloc')
0 files changed, 0 insertions, 0 deletions