Ingo Schwarze wrote on Mon, Jan 04, 2016 at 09:14:19AM -0700:

> 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@

Errr, sorry, s/Never export errno/Never inspect errno/

Reply via email to