Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/mktemp.cc')
-rw-r--r--winsup/cygwin/mktemp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/mktemp.cc b/winsup/cygwin/mktemp.cc
index 4dc157da4..710e432b4 100644
--- a/winsup/cygwin/mktemp.cc
+++ b/winsup/cygwin/mktemp.cc
@@ -100,7 +100,7 @@ _gettemp(char *path, int *doopen, int domkdir, size_t suffixlen, int flags)
if (*trv == '/')
{
*trv = '\0';
- int rval = stat64 (path, &sbuf);
+ int rval = stat (path, &sbuf);
*trv = '/';
if (rval != 0)
return 0;
@@ -131,7 +131,7 @@ _gettemp(char *path, int *doopen, int domkdir, size_t suffixlen, int flags)
if (errno != EEXIST)
return 0;
}
- else if (lstat64 (path, &sbuf))
+ else if (lstat (path, &sbuf))
return errno == ENOENT;
/* If we have a collision, cycle through the space of filenames */