diff options
-rw-r--r-- | ChangeLog | 39 | ||||
-rw-r--r-- | sysdeps/posix/tempname.c | 2 |
2 files changed, 24 insertions, 17 deletions
@@ -1,12 +1,17 @@ -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-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-14 Ulrich Drepper <drepper@cygnus.com> * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from @@ -14,14 +19,14 @@ (IXDR_PUT_INT32): Likewise for writing. Patch by Bruce Elliott <bde@nwlink.com>. -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. - +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. + 1998-12-14 Ulrich Drepper <drepper@cygnus.com> * time/Makefile (tests): Add tst-strptime. 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) { |