diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-10-16 12:09:43 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-10-16 12:09:43 +0000 |
| commit | 6180233fd804806e7301790d2330da50ca57e71f (patch) | |
| tree | 47fcbdba053baaebb80400ad1d663fa57af766bc /lib/libc/stdio/fgetwc.c | |
| parent | 9acd2d9b3ce1cc08aa98adc434b11d8ef5b8b6f0 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/fgetwc.c')
| -rw-r--r-- | lib/libc/stdio/fgetwc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/fgetwc.c b/lib/libc/stdio/fgetwc.c index 311391a825fa..93438a60035c 100644 --- a/lib/libc/stdio/fgetwc.c +++ b/lib/libc/stdio/fgetwc.c @@ -104,5 +104,6 @@ __fgetwc_nbf(FILE *fp) while (n-- != 0) __ungetc((unsigned char)buf[n], fp); errno = EILSEQ; + fp->_flags |= __SERR; return (WEOF); } |
