diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2016-09-01 20:45:04 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2016-09-01 20:45:04 +0000 |
commit | 2fbab0097a29597a4afd625c1fddeac51a12461c (patch) | |
tree | 9e617b084e81b92d6921083b10ecb76529b6c6f2 /targets/pseudo/hosttools | |
parent | 7cba15b16eb22b565bac8fe126cbedf2af79a69c (diff) | |
download | src-2fbab0097a29597a4afd625c1fddeac51a12461c.tar.gz src-2fbab0097a29597a4afd625c1fddeac51a12461c.zip |
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 after: 7 days
Notes
Notes:
svn path=/head/; revision=305241
Diffstat (limited to 'targets/pseudo/hosttools')
0 files changed, 0 insertions, 0 deletions