summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/bindresvport.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-09-22 03:07:51 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-09-22 03:07:51 +0000
commit9583669237be35d9adb90e673ce7841244499d55 (patch)
tree13a4bb58d397dd9307d1f75898f76ecd494c6b09 /libc/inet/rpc/bindresvport.c
parent755c973ce29b2da548470143151a10d5d85ad7d9 (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/inet/rpc/bindresvport.c')
0 files changed, 0 insertions, 0 deletions