From 7d6a833849d8e084bbdc534698e214bca056453f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 23 Nov 1998 09:36:06 +0000 Subject: Update. 1998-11-23 Ulrich Drepper * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read. Patch by Zack Weinberg. * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype. * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if __USE_ISOC9X is defined. Provide rint optimization. 1998-11-21 H.J. Lu * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close, popen, pclose): Add to GLIBC_2.1. * libio/Makefile (routines): Add oldiopopen and oldpclose. (shared-only-routines): Likewise. * libio/pclose.c (pclose): Make it default for GLIBC_2.1. * libio/iopopen.c (_IO_proc_open, _IO_popen, popen, _IO_proc_close): Likewise. * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose, __old_pclose): New prototypes. * libio/libioP.h (_IO_new_file_jumps): Removed. (_IO_old_proc_jumps): Added. (_IO_new_proc_open, _IO_old_proc_open): New prototypes. * libio/oldiopopen.c: New file. * libio/oldpclose.c: New file. 1998-11-22 Thorsten Kukuk * nss/Makefile: Build and install getent. * nss/getent.c: New, get entries from administrative database. --- libio/pclose.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'libio/pclose.c') diff --git a/libio/pclose.c b/libio/pclose.c index 0640d47599..944365934d 100644 --- a/libio/pclose.c +++ b/libio/pclose.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -28,7 +28,7 @@ #include int -pclose (fp) +__new_pclose (fp) FILE *fp; { #if 0 @@ -37,5 +37,13 @@ pclose (fp) if (fp is not a proc_file) return -1; #endif - return _IO_fclose (fp); + return _IO_new_fclose (fp); } + +#if defined PIC && DO_VERSIONING +default_symbol_version (__new_pclose, pclose, GLIBC_2.1); +#else +# ifdef weak_alias +weak_alias (__new_pclose, pclose) +# endif +#endif -- cgit 1.4.1