summaryrefslogtreecommitdiff
path: root/sysdeps/posix/tempname.c
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 /sysdeps/posix/tempname.c
parentab52d206a3bd4dbd671b46a1797dee063926604e (diff)
Update.
2000-09-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
Diffstat (limited to 'sysdeps/posix/tempname.c')
-rw-r--r--sysdeps/posix/tempname.c2
1 files changed, 1 insertions, 1 deletions
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)
{