about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-11 16:06:52 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-11 16:06:52 +0000
commit72c65ff44b8130b54162ec3eb85c36146d7f5d70 (patch)
treecb3903ff12de491a086ddffc278c6d77a1d2a99e
parentab52d206a3bd4dbd671b46a1797dee063926604e (diff)
downloadglibc-72c65ff44b8130b54162ec3eb85c36146d7f5d70.tar.gz
glibc-72c65ff44b8130b54162ec3eb85c36146d7f5d70.tar.xz
glibc-72c65ff44b8130b54162ec3eb85c36146d7f5d70.zip
Update.
2000-09-11  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/posix/tempname.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d9ddf77d6..c64508e1d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-11  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
+
 2000-09-10  David S. Miller  <davem@redhat.com>
 
 	* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
diff --git a/sysdeps/posix/tempname.c b/sysdeps/posix/tempname.c
index fe386020a3..0d7af8f9c3 100644
--- a/sysdeps/posix/tempname.c
+++ b/sysdeps/posix/tempname.c
@@ -179,7 +179,7 @@ __gen_tempname (char *tmpl, int kind)
 	     succeeds if __xstat fails because the name does not exist.
 	     Note the continue to bypass the common logic at the bottom
 	     of the loop.  */
-	  if (__xstat64 (_STAT_VER, tmpl, &st) < 0)
+	  if (__lxstat64 (_STAT_VER, tmpl, &st) < 0)
 	    {
 	      if (errno == ENOENT)
 		{