diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-12-14 09:06:34 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-12-14 09:06:34 +0000 |
commit | b51633c5723e311ffd59a2f5ec5759914ed9476b (patch) | |
tree | 117191337a4d725029756cbfc1bb2ff545e0606c /libio/wstrops.c | |
parent | 985d254c909903787e4bbc517af30406e0e9df8b (diff) | |
download | glibc-b51633c5723e311ffd59a2f5ec5759914ed9476b.tar.gz glibc-b51633c5723e311ffd59a2f5ec5759914ed9476b.tar.xz glibc-b51633c5723e311ffd59a2f5ec5759914ed9476b.zip |
Updated to fedora-glibc-20061214T0850 cvs/fedora-glibc-2_5_90-13
Diffstat (limited to 'libio/wstrops.c')
-rw-r--r-- | libio/wstrops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/wstrops.c b/libio/wstrops.c index 8b862fb989..c5aae7bc6a 100644 --- a/libio/wstrops.c +++ b/libio/wstrops.c @@ -88,7 +88,7 @@ _IO_wstr_overflow (fp, c) pos = fp->_wide_data->_IO_write_ptr - fp->_wide_data->_IO_write_base; if (pos >= (_IO_size_t) (_IO_wblen (fp) + flush_only)) { - if (fp->_flags & _IO_USER_BUF) /* not allowed to enlarge */ + if (fp->_flags2 & _IO_FLAGS2_USER_WBUF) /* not allowed to enlarge */ return WEOF; else { @@ -182,7 +182,7 @@ enlarge_userbuf (_IO_FILE *fp, _IO_off64_t offset, int reading) _IO_ssize_t oldend = wd->_IO_write_end - wd->_IO_write_base; /* Try to enlarge the buffer. */ - if (fp->_flags & _IO_USER_BUF) + if (fp->_flags2 & _IO_FLAGS2_USER_WBUF) /* User-provided buffer. */ return 1; @@ -335,7 +335,7 @@ _IO_wstr_finish (fp, dummy) _IO_FILE *fp; int dummy; { - if (fp->_wide_data->_IO_buf_base && !(fp->_flags & _IO_USER_BUF)) + if (fp->_wide_data->_IO_buf_base && !(fp->_flags2 & _IO_FLAGS2_USER_WBUF)) (((_IO_strfile *) fp)->_s._free_buffer) (fp->_wide_data->_IO_buf_base); fp->_wide_data->_IO_buf_base = NULL; |