diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-09-02 07:14:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-09-02 07:14:15 +0000 |
commit | f1c30c98b9c9720f2a542df7ae0b9cde4c162e7a (patch) | |
tree | 316c77f8647401e15d064910b7f33b0d2c84050d /sysdeps/generic/tmpfile.c | |
parent | c503d3dc512a5f7947d5b3d69d784028db3a639a (diff) | |
download | glibc-f1c30c98b9c9720f2a542df7ae0b9cde4c162e7a.tar glibc-f1c30c98b9c9720f2a542df7ae0b9cde4c162e7a.tar.gz glibc-f1c30c98b9c9720f2a542df7ae0b9cde4c162e7a.tar.bz2 glibc-f1c30c98b9c9720f2a542df7ae0b9cde4c162e7a.zip |
(CFLAGS-oldtmpfile.c): Add -fexceptions.
Diffstat (limited to 'sysdeps/generic/tmpfile.c')
-rw-r--r-- | sysdeps/generic/tmpfile.c | 4 |
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); |