-
Dan Kegel authored
The canonical way to detect EOF on read is when you request more than zero bytes, but zero bytes come back. Switching to this method seems to handle a few problem cases better. Also handle ERROR_BROKEN_PIPE properly just in case.
316869b2
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
tests | ||
Makefile.in | ||
console.c | ||
cpp.c | ||
cppexcept.c | ||
cppexcept.h | ||
ctype.c | ||
data.c | ||
dir.c | ||
environ.c | ||
errno.c | ||
except.c | ||
exit.c | ||
file.c | ||
heap.c | ||
locale.c | ||
lock.c | ||
main.c | ||
math.c | ||
mbcs.c | ||
misc.c | ||
msvcrt.h | ||
msvcrt.spec | ||
mtdll.h | ||
process.c | ||
rsrc.rc | ||
scanf.c | ||
scanf.h | ||
string.c | ||
thread.c | ||
time.c | ||
undname.c | ||
wcs.c |