diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-01 21:05:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-01 21:05:53 +0000 |
commit | f0d8cfd73c91a95ac1faa6702e75bfa821d57e05 (patch) | |
tree | 3840409fbca618d0d194c99452473893e1f8f0f6 /libio/iosetvbuf.c | |
parent | 75d86c1f4c44d395bf3efaefc172a13f09ea4022 (diff) | |
download | glibc-f0d8cfd73c91a95ac1faa6702e75bfa821d57e05.zip glibc-f0d8cfd73c91a95ac1faa6702e75bfa821d57e05.tar.gz glibc-f0d8cfd73c91a95ac1faa6702e75bfa821d57e05.tar.bz2 |
Update.
1999-12-01 Ulrich Drepper <drepper@cygnus.com>
* libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
function call directly.
* libio/iosetvbuf.c: Likewise.
Diffstat (limited to 'libio/iosetvbuf.c')
-rw-r--r-- | libio/iosetvbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iosetvbuf.c b/libio/iosetvbuf.c index f63a3c2..a0287a3 100644 --- a/libio/iosetvbuf.c +++ b/libio/iosetvbuf.c @@ -92,8 +92,8 @@ _IO_setvbuf (fp, buf, mode, size) result = _IO_SETBUF (fp, buf, size) == NULL ? EOF : 0; if (result == 0 && fp->_vtable_offset == 0 && fp->_mode == 0) /* We also have to set the buffer using the wide char function. */ - result = ((*fp->_wide_data->_wide_vtable->__setbuf) (fp, buf, size) == NULL - ? EOF : 0); + result = _IO_WSETBUF (fp, buf, size) == NULL ? EOF : 0; + unlock_return: _IO_funlockfile (fp); _IO_cleanup_region_end (0); |