K 10 svn:author V 4 ache K 8 svn:date V 27 2016-09-05T01:57:32.353331Z K 7 svn:log V 225 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. END