aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-15 09:31:30 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-15 09:31:30 +0000
commit5a7cb1a2c7ba6bc3524a26f63c50ca7cf0740769 (patch)
tree1da00ab401894d8971c7011046edeb4fbb874f1a /sysdeps
parentb61af6fc2ea0f305c60befc7f50b9d6aa4f0ea38 (diff)
downloadglibc-5a7cb1a2c7ba6bc3524a26f63c50ca7cf0740769.zip
glibc-5a7cb1a2c7ba6bc3524a26f63c50ca7cf0740769.tar.gz
glibc-5a7cb1a2c7ba6bc3524a26f63c50ca7cf0740769.tar.bz2
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')
-rw-r--r--sysdeps/posix/tempname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/posix/tempname.c b/sysdeps/posix/tempname.c
index 5b6134c..c3dbf52 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)
{