diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-14 15:23:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-14 15:23:56 +0000 |
commit | 60876a75445b1b65e4a0ec54e18205a79f79466b (patch) | |
tree | f1ed7e59c543e092bbd492af3654abfad53a4344 /stdio-common/tmpnam_r.c | |
parent | 59036602bf40d3b35884280881be4edfb1378430 (diff) | |
download | glibc-60876a75445b1b65e4a0ec54e18205a79f79466b.zip glibc-60876a75445b1b65e4a0ec54e18205a79f79466b.tar.gz glibc-60876a75445b1b65e4a0ec54e18205a79f79466b.tar.bz2 |
Update.
* include/stdio.h: Add new parameter to __path_search.
* libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
* stdio-common/tmpfile.c: Likewise.
* stdio-common/tmpfile64.c: Likewise.
* stdio-common/tmpnam.c: Likewise.
* stdio-common/tmpnam_r.c: Likewise.
* stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
* sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
consider TMPDIR environment variable and dir parameter. Otherwise not.
* stdio-common/Makefile (tests): Add tst-tmpnam.
* stdio-common/tst-tmpnam.c: New file.
Diffstat (limited to 'stdio-common/tmpnam_r.c')
-rw-r--r-- | stdio-common/tmpnam_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tmpnam_r.c b/stdio-common/tmpnam_r.c index 07c4650..26214ec 100644 --- a/stdio-common/tmpnam_r.c +++ b/stdio-common/tmpnam_r.c @@ -26,7 +26,7 @@ tmpnam_r (char *s) if (s == NULL) return NULL; - if (__path_search (s, L_tmpnam, NULL, NULL)) + if (__path_search (s, L_tmpnam, NULL, NULL, 0)) return NULL; if (__gen_tempname (s, 0, 0)) return NULL; |