summaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-25 18:55:07 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-25 18:55:07 +0000
commitdd3394742b3e2e01f403b1c1b41ed39273b2212e (patch)
tree5fed86738b0d518989679f3194f896fc9fcebbe2 /stdio-common
parent9b0cdd693e7f54fd35fd58931b940efe6ccb88cd (diff)
Updated to fedora-glibc-20070825T1839
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/tempnam.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/stdio-common/tempnam.c b/stdio-common/tempnam.c
index c631d462d3..055604fb79 100644
--- a/stdio-common/tempnam.c
+++ b/stdio-common/tempnam.c
@@ -19,13 +19,13 @@
#include <stdio.h>
#include <string.h>
-/* Generate a unique temporary filename using up to five characters of PFX
- if it is not NULL. The directory to put this file in is searched for
- as follows: First the environment variable "TMPDIR" is checked.
- If it contains the name of a writable directory, that directory is used.
- If not and if DIR is not NULL, that value is checked. If that fails,
- P_tmpdir is tried and finally "/tmp". The storage for the filename
- is allocated by `malloc'. */
+/* Generate a unique temporary filename using up to five characters of
+ PFX if it is not NULL. The directory to put this file in is
+ searched for as follows: First the environment variable "TMPDIR" is
+ checked. If it contains the name of a directory, that directory is
+ used. If not and if DIR is not NULL, that value is checked. If
+ that fails, P_tmpdir is tried and finally "/tmp". The storage for
+ the filename is allocated by `malloc'. */
char *
tempnam (const char *dir, const char *pfx)
{