summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-17 13:58:32 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-17 13:58:32 +0000
commitc0b50509efc80bc9a2c9ebc787d2ab868816231d (patch)
treefffa46439aaa786ccd7852ea8bc51cf03e70e35c /libio
parent0937645101948542e6d0936546e9ca048847c24b (diff)
downloadglibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.tar.gz
glibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.tar.xz
glibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.zip
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
Diffstat (limited to 'libio')
-rw-r--r--libio/oldiofdopen.c4
-rw-r--r--libio/oldtmpfile.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libio/oldiofdopen.c b/libio/oldiofdopen.c
index e9c18d932b..0e015226cc 100644
--- a/libio/oldiofdopen.c
+++ b/libio/oldiofdopen.c
@@ -25,13 +25,13 @@
 
 #define _IO_USE_OLD_IO_FILE
 #ifdef __STDC__
-#include <stdlib.h>
+# include <stdlib.h>
 #endif
 #include "libioP.h"
 #include <fcntl.h>
 
 #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 72437fea0f..40395bf9c2 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;
 }