CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2015/12/24 12:55:39

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

Log message:
Both our manual and POSIX ask us to set the error indicator when an
encoding error occurs, so do it.
While here, do not set errno after mbrtowc(3) failure; mbrtowc(3)
already does that, and that behaviour is required by the standard.
ok jca@ guenther@  "nice find" deraadt@

Reply via email to