# HG changeset patch # User Richard M. Stallman # Date 781519345 0 # Node ID 347f919eea4a6fec7f0a159467522cd029799541 # Parent 7f6f83c8571e65e2be8923fd0bc7d6d7871bf73c (check_writable, check_executable): Test HAVE_EACCESS. diff -r 7f6f83c8571e -r 347f919eea4a src/fileio.c --- a/src/fileio.c Fri Oct 07 08:40:00 1994 +0000 +++ b/src/fileio.c Fri Oct 07 08:42:25 1994 +0000 @@ -2176,7 +2176,7 @@ check_executable (filename) char *filename; { -#ifdef __HURD__ +#ifdef HAVE_EACCESS return (eaccess (filename, 1) >= 0); #else /* Access isn't quite right because it uses the real uid @@ -2192,7 +2192,7 @@ check_writable (filename) char *filename; { -#ifdef __HURD__ +#ifdef HAVE_EACCESS return (eaccess (filename, 2) >= 0); #else /* Access isn't quite right because it uses the real uid