[Bug 212033] fgetwln(3) fails to report most encoding errors
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 22 15:45:42 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212033
--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:
Author: ache
Date: Mon Aug 22 15:44:55 UTC 2016
New revision: 304607
URL: https://svnweb.freebsd.org/changeset/base/304607
Log:
Fix error processing.
1) Don't forget to set __SERR on __slbexpand() error.
2) Check for __fgetwc() errors using errno. Don't check for __SERR
as PR suggested, it user-visible flag which can stick from previous
functions and stdio code don't check it for this purpose.
PR: 212033
MFC after: 3 days
Changes:
head/lib/libc/stdio/fgetwln.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list