summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/posixver.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2016-09-05 01:57:32 +0000
committerache <ache@FreeBSD.org>2016-09-05 01:57:32 +0000
commit23cf012b280ed8f8274e25a82bf44492132b1419 (patch)
tree364acde762ec68fd48037f015ccda7d49712c939 /contrib/diff/lib/posixver.c
parent3d5d624919bed2dbb0c49b5fb0e538a47b69aca2 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud