changeset 15533:a749d414efbb

(check_executable): Use euidaccess, not eaccess.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 Jun 1996 07:05:19 +0000
parents 98148b219a27
children 7f169dd814ce
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Fri Jun 28 07:01:51 1996 +0000
+++ b/src/fileio.c	Fri Jun 28 07:05:19 1996 +0000
@@ -2544,8 +2544,8 @@
 	  || (st.st_mode & S_IFMT) == S_IFDIR);
 #endif /* not WINDOWSNT */
 #else /* not DOS_NT */
-#ifdef HAVE_EACCESS
-  return (eaccess (filename, 1) >= 0);
+#ifdef HAVE_EUIDACCESS
+  return (euidaccess (filename, 1) >= 0);
 #else
   /* Access isn't quite right because it uses the real uid
      and we really want to test with the effective uid.