aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 7a8a5c92322..f063c956c01 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3115,7 +3115,7 @@ This is the sort of file that holds an ordinary stream of data bytes.")
3115 return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil; 3115 return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil;
3116 } 3116 }
3117#else 3117#else
3118 if (lstat (XSTRING (absname)->data, &st) < 0) 3118 if (stat (XSTRING (absname)->data, &st) < 0)
3119 return Qnil; 3119 return Qnil;
3120 return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil; 3120 return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil;
3121#endif 3121#endif