From c0b50509efc80bc9a2c9ebc787d2ab868816231d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 17 Dec 1998 13:58:32 +0000 Subject: Update. * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close. * libio/oldtmpfile.c: Likewise. * libio/oldiofdopen.c: Use __fcntl instead fcntl. * sysdeps/posix/profil.c: Use __sigaction instead of sigaction. * login/login.c: Determine pts/3 as terminal name if path is --- libio/oldiofdopen.c | 4 ++-- libio/oldtmpfile.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libio') diff --git a/libio/oldiofdopen.c b/libio/oldiofdopen.c index e9c18d9..0e01522 100644 --- a/libio/oldiofdopen.c +++ b/libio/oldiofdopen.c @@ -25,13 +25,13 @@ #define _IO_USE_OLD_IO_FILE #ifdef __STDC__ -#include +# include #endif #include "libioP.h" #include #ifndef _IO_fcntl -#define _IO_fcntl fcntl +# define _IO_fcntl __fcntl #endif _IO_FILE * diff --git a/libio/oldtmpfile.c b/libio/oldtmpfile.c index 72437fe..40395bf 100644 --- a/libio/oldtmpfile.c +++ b/libio/oldtmpfile.c @@ -43,7 +43,7 @@ __old_tmpfile (void) (void) remove (buf); if ((f = _IO_old_fdopen (fd, "w+b")) == NULL) - close (fd); + __close (fd); return f; } -- cgit v1.1