diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-08-12 18:40:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-08-12 18:40:03 +0000 |
commit | bbdef797baaddf4c85163832972fd0140cad964d (patch) | |
tree | 2232a7ffec155cfd3efb2c98661f987d54b3cdc5 /libio/freopen64.c | |
parent | Update. (diff) | |
download | glibc-bbdef797baaddf4c85163832972fd0140cad964d.tar.gz glibc-bbdef797baaddf4c85163832972fd0140cad964d.tar.bz2 glibc-bbdef797baaddf4c85163832972fd0140cad964d.zip |
Update.
2003-08-12 Jakub Jelinek <jakub@redhat.com>
* libio/libioP.h (_IO_vtable_offset): Define.
* libio/freopen.c (freopen): Use it.
* libio/ioputs.c (_IO_puts): Likewise.
* libio/freopen64.c (freopen64): Likewise.
* libio/genops.c (__underflow, __uflow, _IO_flush_all_lockp):
Likewise.
* libio/iofclose.c (_IO_new_fclose): Likewise.
* libio/iofputs.c (_IO_fputs): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
* libio/iofwrite.c (_IO_fwrite): Likewise.
* libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
* libio/iosetbuffer.c (_IO_setbuffer): Likewise.
* stdio-common/vfprintf.c (ORIENT, vfprintf): Likewise.
* stdio-common/vfscanf.c (ORIENT): Likewise.
Diffstat (limited to 'libio/freopen64.c')
-rw-r--r-- | libio/freopen64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/freopen64.c b/libio/freopen64.c index 4176dd0511..d57994df05 100644 --- a/libio/freopen64.c +++ b/libio/freopen64.c @@ -54,7 +54,7 @@ freopen64 (filename, mode, fp) } INTUSE(_IO_file_close_it) (fp); _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &_IO_file_jumps; - if (fp->_vtable_offset == 0 && fp->_wide_data != NULL) + if (_IO_vtable_offset (fp) == 0 && fp->_wide_data != NULL) fp->_wide_data->_wide_vtable = &_IO_wfile_jumps; result = INTUSE(_IO_file_fopen) (fp, filename, mode, 0); if (result != NULL) |