MFC r305241
fgetwc(3) may set both SEOF and SERR at once (in case of incomplete
sequence near EOF), so we can't just check for
(wc == WEOF && !sfeof(fp)) and must relay on sferror(fp) with
__SERR clearing/restoring.
MFC r305241 Tags None Referenced Files None Subscribers None
Description
Details
|