From 15a686af58c659a0c6c336582b9f1f6514a67137 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 27 Mar 2003 11:54:09 +0000 Subject: * 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. --- libio/freopen.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libio/freopen.c') diff --git a/libio/freopen.c b/libio/freopen.c index 244a90d84e..7301da7f48 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); -- cgit v1.2.3