diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-09-23 00:00:05 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-09-23 00:00:05 +0200 |
| commit | dd44887ac69f334ecf07e0a7be97c18e764539e8 (patch) | |
| tree | 597841cad6a7332bfab273ff1ef3084f40f5ff72 /src/fileops.c | |
| parent | 01ab592b82c4051df2be6066d7dfa59696cd453d (diff) | |
| download | libgit2-dd44887ac69f334ecf07e0a7be97c18e764539e8.tar.gz | |
Implment p_access and use it in git_fileutils_exists
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/fileops.c')
| -rw-r--r-- | src/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c index bfd63f584..203cce0a4 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -127,7 +127,7 @@ int git_futils_isfile(const char *path) int git_futils_exists(const char *path) { assert(path); - return access(path, F_OK); + return p_access(path, F_OK); } git_off_t git_futils_filesize(git_file fd) |
