CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2016/01/04 09:14:19

Modified files:
        lib/libc/stdio : fgetws.c 

Log message:
Bugfix: When errno happens to be EILSEQ upon entry to fgetws(3),
and when the file ends without a terminating L'\n' character,
fgetws(3) discarded any characters read and reported bogus EOF.
Never export errno(2) unless right after an error occurred!
OK millert@

Reply via email to