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
5057be3e
Commit
5057be3e
authored
Feb 13, 1999
by
Richard M. Stallman
Browse files
(Ffile_regular_p): Use lstat.
parent
8005ea3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/fileio.c
src/fileio.c
+1
-1
No files found.
src/fileio.c
View file @
5057be3e
...
...
@@ -3111,7 +3111,7 @@ This is the sort of file that holds an ordinary stream of data bytes.")
return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil;
}
#else
if (stat (XSTRING (absname)->data, &st) < 0)
if (
l
stat (XSTRING (absname)->data, &st) < 0)
return Qnil;
return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil;
#endif
...
...
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