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 f5a800f6c16..7df85fc78a1 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2544,8 +2544,8 @@ check_executable (filename)
2544 || (st.st_mode & S_IFMT) == S_IFDIR); 2544 || (st.st_mode & S_IFMT) == S_IFDIR);
2545#endif /* not WINDOWSNT */ 2545#endif /* not WINDOWSNT */
2546#else /* not DOS_NT */ 2546#else /* not DOS_NT */
2547#ifdef HAVE_EACCESS 2547#ifdef HAVE_EUIDACCESS
2548 return (eaccess (filename, 1) >= 0); 2548 return (euidaccess (filename, 1) >= 0);
2549#else 2549#else
2550 /* Access isn't quite right because it uses the real uid 2550 /* Access isn't quite right because it uses the real uid
2551 and we really want to test with the effective uid. 2551 and we really want to test with the effective uid.