diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-25 05:12:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-25 05:12:05 +0000 |
commit | 655de5fdf21929f7f11d2307b13aeb66a1b47181 (patch) | |
tree | 8deedccf086bd131de3bbc17f663dd8c9eac0a16 /libio | |
parent | d90e1b429546fc546e624769b213a0620de36951 (diff) | |
download | glibc-655de5fdf21929f7f11d2307b13aeb66a1b47181.zip glibc-655de5fdf21929f7f11d2307b13aeb66a1b47181.tar.gz glibc-655de5fdf21929f7f11d2307b13aeb66a1b47181.tar.bz2 |
Update.
2000-09-24 Ulrich Drepper <drepper@redhat.com>
* libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
stream is in wide mode.
* stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
2000-09-21 Bruno Haible <haible@clisp.cons.org>
* iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
by 3, not 2.
(INIT_PARAMS, UPDATE_PARAMS): Likewise.
handling.
* stdio/tst-printf.sh: Adjust expected results.
Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
Diffstat (limited to 'libio')
-rw-r--r-- | libio/genops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/genops.c b/libio/genops.c index 42419bf..c86adee 100644 --- a/libio/genops.c +++ b/libio/genops.c @@ -368,7 +368,7 @@ _IO_doallocbuf (fp) { if (fp->_IO_buf_base) return; - if (!(fp->_flags & _IO_UNBUFFERED)) + if (!(fp->_flags & _IO_UNBUFFERED) || fp->_mode > 0) if (_IO_DOALLOCATE (fp) != EOF) return; _IO_setb (fp, fp->_shortbuf, fp->_shortbuf+1, 0); |