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/unistd/pathconf.c | |
parent | 4d668e00b8c42aca5662f1d65496a97a507f583f (diff) |
Convert internal users of chmod/*stat*, minimize change for __strsep
Diffstat (limited to 'libc/unistd/pathconf.c')
-rw-r--r-- | libc/unistd/pathconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/unistd/pathconf.c b/libc/unistd/pathconf.c index affec4e69..579b99be0 100644 --- a/libc/unistd/pathconf.c +++ b/libc/unistd/pathconf.c @@ -57,7 +57,7 @@ long int pathconf(const char *path, int name) struct statfs fsbuf; /* Determine the filesystem type. */ - if (statfs (path, &fsbuf) < 0) + if (__statfs (path, &fsbuf) < 0) { if (errno == ENOSYS) /* not possible, return the default value. */ @@ -131,7 +131,7 @@ long int pathconf(const char *path, int name) struct statfs buf; int save_errno = errno; - if (statfs (path, &buf) < 0) + if (__statfs (path, &buf) < 0) { if (errno == ENOSYS) { @@ -205,7 +205,7 @@ long int pathconf(const char *path, int name) /* AIO is only allowed on regular files and block devices. */ struct stat st; - if (stat (path, &st) < 0 || (! S_ISREG (st.st_mode) && ! S_ISBLK (st.st_mode))) + if (__stat (path, &st) < 0 || (! S_ISREG (st.st_mode) && ! S_ISBLK (st.st_mode))) return -1; else return 1; |