Module Name: src
Committed By: drochner
Date: Fri Sep 10 10:29:23 UTC 2010
Modified Files:
src/lib/libc/stdio: refill.c
Log Message:
apply an 11 years old fix from FreeBSD:
if EBADF is returned due to a read from a write-only stream, also
set ferror()
found by a selftest of Python-2.6.6, thanks to obache for pointing
out the details
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdio/refill.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.