Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 15:45:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212033] fgetwln(3) fails to report most encoding errors
Message-ID:  <bug-212033-8-dCXHdooRKs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212033-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212033-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212033

--- Comment #5 from commit-hook@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212033-8-dCXHdooRKs>