diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-15 09:31:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-15 09:31:30 +0000 |
commit | 5a7cb1a2c7ba6bc3524a26f63c50ca7cf0740769 (patch) | |
tree | 1da00ab401894d8971c7011046edeb4fbb874f1a /sysdeps/posix/tempname.c | |
parent | b61af6fc2ea0f305c60befc7f50b9d6aa4f0ea38 (diff) | |
download | glibc-5a7cb1a2c7ba6bc3524a26f63c50ca7cf0740769.tar.gz glibc-5a7cb1a2c7ba6bc3524a26f63c50ca7cf0740769.tar.xz glibc-5a7cb1a2c7ba6bc3524a26f63c50ca7cf0740769.zip |
Update.
1998-12-15 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/tempname.c (__path_search): Add second part of the patch by Andreas Jaeger. 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid warnings about unused args. Fix comment. 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/posix/tempname.c (__path_search): Correct last patch. 1998-12-08 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear the IBAUD0 bit in c_iflag. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the the IBAUD0 bit in c_iflag.
Diffstat (limited to 'sysdeps/posix/tempname.c')
-rw-r--r-- | sysdeps/posix/tempname.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/posix/tempname.c b/sysdeps/posix/tempname.c index 5b6134cb24..c3dbf5278b 100644 --- a/sysdeps/posix/tempname.c +++ b/sysdeps/posix/tempname.c @@ -68,6 +68,8 @@ __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, dir = d; else if (dir != NULL && direxists (dir)) /* nothing */ ; + else + dir = NULL; } if (dir != NULL) { |