aboutsummaryrefslogtreecommitdiff
path: root/libio/oldtmpfile.c
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/oldtmpfile.c
parent0937645101948542e6d0936546e9ca048847c24b (diff)
downloadglibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.tar
glibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.tar.gz
glibc-c0b50509efc80bc9a2c9ebc787d2ab868816231d.tar.bz2
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/oldtmpfile.c')
-rw-r--r--libio/oldtmpfile.c2
1 files changed, 1 insertions, 1 deletions
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;
}