diff --git a/src/fileio.c b/src/fileio.c index 7a8a5c92322e1df54b449d1dd6d220a85def7844..f063c956c015445758158a56b47748745deeecbc 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.") return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil; } #else - if (lstat (XSTRING (absname)->data, &st) < 0) + if (stat (XSTRING (absname)->data, &st) < 0) return Qnil; return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil; #endif