Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/stdio



Module Name:    src
Committed By:   dsl
Date:           Wed Oct 14 21:25:52 UTC 2009

Modified Files:
        src/lib/libc/stdio: fgets.c vfprintf.c

Log Message:
Change a while () {} into a do {} while() so that fgets(buf, 1, file)
detects EOF on an empty file.
Fixes most of PR/41992


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/stdio/fgets.c
cvs rdiff -u -r1.57 -r1.58 src/lib/libc/stdio/vfprintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index