diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-11-23 09:36:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-11-23 09:36:06 +0000 |
commit | 7d6a833849d8e084bbdc534698e214bca056453f (patch) | |
tree | 5e3f4055efe1797b093a2c927730ec7a0908567a /libio/pclose.c | |
parent | 9dc09d3060c01726779b4a19a934e6bb0cde5f67 (diff) | |
download | glibc-7d6a833849d8e084bbdc534698e214bca056453f.tar.gz glibc-7d6a833849d8e084bbdc534698e214bca056453f.tar.xz glibc-7d6a833849d8e084bbdc534698e214bca056453f.zip |
Update. cvs/libc-as-981124
1998-11-23 Ulrich Drepper <drepper@cygnus.com> * 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 <hjl@gnu.org> * 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 <kukuk@vt.uni-paderborn.de> * nss/Makefile: Build and install getent. * nss/getent.c: New, get entries from administrative database.
Diffstat (limited to 'libio/pclose.c')
-rw-r--r-- | libio/pclose.c | 14 |
1 files changed, 11 insertions, 3 deletions
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 <errno.h> 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 |