diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-05-22 15:19:41 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-05-22 15:19:41 +0000 |
| commit | 87275e436a0fb31fea2757532860a3ec993d2cd6 (patch) | |
| tree | f6b3a5846b5b7d1a722dc68d0c48e70c32df2e55 /lib/libc/stdio/findfp.c | |
| parent | d0834d4dc80a4f57c5979ccd810fc2e2c204d595 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/findfp.c')
| -rw-r--r-- | lib/libc/stdio/findfp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c index 270ec8aa6f17..26d4dcf7797d 100644 --- a/lib/libc/stdio/findfp.c +++ b/lib/libc/stdio/findfp.c @@ -180,11 +180,7 @@ found: fp->_lb._size = 0; /* fp->_lock = NULL; */ /* once set always set (reused) */ fp->_extra->orientation = 0; -#ifdef notdef - /* Stateful encoding/decoding is not yet supported. */ - memset(&fp->_extra->wstate, 0, sizeof(mbstate_t)); - memset(&fp->_extra->rstate, 0, sizeof(mbstate_t)); -#endif + memset(&fp->_extra->mbstate, 0, sizeof(mbstate_t)); return (fp); } |
