aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/tmpfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/tmpfile.c')
-rw-r--r--sysdeps/generic/tmpfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/tmpfile.c b/sysdeps/generic/tmpfile.c
index 847a7446b3..41f12bc8ba 100644
--- a/sysdeps/generic/tmpfile.c
+++ b/sysdeps/generic/tmpfile.c
@@ -1,5 +1,5 @@
/* Open a stdio stream on an anonymous temporary file. Generic/POSIX version.
- Copyright (C) 1991,93,96,97,98,99,2000,2002 Free Software Foundation, Inc.
+ Copyright (C) 1991,93,1996-2000,2002,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -51,7 +51,7 @@ tmpfile (void)
/* Note that this relies on the Unix semantics that
a file is not really removed until it is closed. */
- (void) remove (buf);
+ (void) __unlink (buf);
if ((f = __fdopen (fd, "w+b")) == NULL)
__close (fd);