diff options
author | ache <ache@FreeBSD.org> | 2016-09-05 01:57:32 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2016-09-05 01:57:32 +0000 |
commit | 23cf012b280ed8f8274e25a82bf44492132b1419 (patch) | |
tree | 364acde762ec68fd48037f015ccda7d49712c939 /contrib/diff/lib/posixver.c | |
parent | 3d5d624919bed2dbb0c49b5fb0e538a47b69aca2 (diff) | |
download | FreeBSD-src-23cf012b280ed8f8274e25a82bf44492132b1419.zip FreeBSD-src-23cf012b280ed8f8274e25a82bf44492132b1419.tar.gz |
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.
Diffstat (limited to 'contrib/diff/lib/posixver.c')
0 files changed, 0 insertions, 0 deletions