aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index d1e4a09da6d..a9d2b95e09a 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2568,8 +2568,8 @@ check_writable (filename)
2568 return 0; 2568 return 0;
2569 return (st.st_mode & S_IWRITE || (st.st_mode & S_IFMT) == S_IFDIR); 2569 return (st.st_mode & S_IWRITE || (st.st_mode & S_IFMT) == S_IFDIR);
2570#else /* not MSDOS */ 2570#else /* not MSDOS */
2571#ifdef HAVE_EACCESS 2571#ifdef HAVE_EUIDACCESS
2572 return (eaccess (filename, 2) >= 0); 2572 return (euidaccess (filename, 2) >= 0);
2573#else 2573#else
2574 /* Access isn't quite right because it uses the real uid 2574 /* Access isn't quite right because it uses the real uid
2575 and we really want to test with the effective uid. 2575 and we really want to test with the effective uid.