Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fcd2fe41
Commit
fcd2fe41
authored
Oct 07, 1994
by
Richard M. Stallman
Browse files
(check_writable, check_executable): Test HAVE_EACCESS.
parent
95e7f63a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/fileio.c
src/fileio.c
+2
-2
No files found.
src/fileio.c
View file @
fcd2fe41
...
...
@@ -2176,7 +2176,7 @@ static int
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 @@ static int
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment