about summary refs log tree commit diff
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
parentb61af6fc2ea0f305c60befc7f50b9d6aa4f0ea38 (diff)
downloadglibc-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.
-rw-r--r--ChangeLog39
-rw-r--r--sysdeps/posix/tempname.c2
2 files changed, 24 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 7057805247..82e442642c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
     {