diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-13 11:35:31 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-13 11:35:31 +0000 |
commit | 3c84ded68a9106ac87886e173e75dd3dde33c231 (patch) | |
tree | dcc90d017e2c77b98d3753d470adfa576d36149c /libc/misc/internals/tempname.c | |
parent | 4d668e00b8c42aca5662f1d65496a97a507f583f (diff) |
Convert internal users of chmod/*stat*, minimize change for __strsep
Diffstat (limited to 'libc/misc/internals/tempname.c')
-rw-r--r-- | libc/misc/internals/tempname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c index fae3687ad..5bcd78390 100644 --- a/libc/misc/internals/tempname.c +++ b/libc/misc/internals/tempname.c @@ -54,7 +54,7 @@ static int direxists (const char *dir) { struct stat buf; - return stat(dir, &buf) == 0 && S_ISDIR (buf.st_mode); + return __stat(dir, &buf) == 0 && S_ISDIR (buf.st_mode); } /* Path search algorithm, for tmpnam, tmpfile, etc. If DIR is @@ -212,7 +212,7 @@ int attribute_hidden __gen_tempname (char *tmpl, int kind) case __GT_NOCREATE: { struct stat st; - if (stat (tmpl, &st) < 0) + if (__stat (tmpl, &st) < 0) { if (errno == ENOENT) { |