2000-09-11  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
This commit is contained in:
Ulrich Drepper 2000-09-11 16:06:52 +00:00
parent ab52d206a3
commit 72c65ff44b
2 changed files with 5 additions and 1 deletions

View File

@ -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> 2000-09-10 David S. Miller <davem@redhat.com>
* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp

View File

@ -179,7 +179,7 @@ __gen_tempname (char *tmpl, int kind)
succeeds if __xstat fails because the name does not exist. succeeds if __xstat fails because the name does not exist.
Note the continue to bypass the common logic at the bottom Note the continue to bypass the common logic at the bottom
of the loop. */ of the loop. */
if (__xstat64 (_STAT_VER, tmpl, &st) < 0) if (__lxstat64 (_STAT_VER, tmpl, &st) < 0)
{ {
if (errno == ENOENT) if (errno == ENOENT)
{ {