diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-27 11:54:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-27 11:54:09 +0000 |
commit | 15a686af58c659a0c6c336582b9f1f6514a67137 (patch) | |
tree | 93ef3c799c7065ceb7cce4db3f3e5b223516049c /libio/freopen.c | |
parent | fd54683c976e506e6311d0fc5d59a7a2d1387d42 (diff) | |
download | glibc-15a686af58c659a0c6c336582b9f1f6514a67137.zip glibc-15a686af58c659a0c6c336582b9f1f6514a67137.tar.gz glibc-15a686af58c659a0c6c336582b9f1f6514a67137.tar.bz2 |
* scripts/abilist.awk: If variable `parse_names' is set, grok the file
header lines and write out foo.symlist files for each foo.so.NN listed.
* libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden.
This symbol is exported, and we don't want to hide it.
Add libc_hidden_proto instead.
(_IO_file_jumps): Add libc_hidden_proto.
* libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def.
Remove INTVARDEF.
* libio/fileops.c (_IO_file_jumps): Likewise.
* libio/stdfiles.c: Don't use INTUSE on them.
* libio/iofdopen.c (_IO_new_fdopen): Likewise.
* libio/iofopen.c (__fopen_internal): Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/freopen64.c (freopen64): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
Diffstat (limited to 'libio/freopen.c')
-rw-r--r-- | libio/freopen.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libio/freopen.c b/libio/freopen.c index 244a90d..7301da7 100644 --- a/libio/freopen.c +++ b/libio/freopen.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1993,95,96,97,98,2000,2001,2002 Free Software Foundation, Inc. +/* Copyright (C) 1993,95,96,97,98,2000,2001,2002,2003 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -67,9 +68,9 @@ freopen (filename, mode, fp) #endif { INTUSE(_IO_file_close_it) (fp); - _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &INTUSE(_IO_file_jumps); + _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &_IO_file_jumps; if (fp->_vtable_offset == 0 && fp->_wide_data != NULL) - fp->_wide_data->_wide_vtable = &INTUSE(_IO_wfile_jumps); + fp->_wide_data->_wide_vtable = &_IO_wfile_jumps; result = INTUSE(_IO_file_fopen) (fp, filename, mode, 1); if (result != NULL) result = __fopen_maybe_mmap (result); |