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
8f6df9b5
Commit
8f6df9b5
authored
Feb 21, 1999
by
Eli Zaretskii
Browse files
(lstat) [!S_ISLNK]: Use stat instead of lstat.
parent
b78e8d0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/fileio.c
src/fileio.c
+4
-0
No files found.
src/fileio.c
View file @
8f6df9b5
...
...
@@ -149,6 +149,10 @@ extern char *strerror ();
#define O_RDONLY 0
#endif
#ifndef S_ISLNK
# define lstat stat
#endif
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
...
...
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