HomeFreeBSD

Fix error processing.

Description

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

Details

Provenance
acheAuthored on
Parents
rS304606: Temporarily disable the optimization from r304436
Branches
Unknown
Tags
Unknown