]> git.eshelyaron.com Git - emacs.git/commitdiff
(Ffile_regular_p): Use lstat.
authorRichard M. Stallman <rms@gnu.org>
Sat, 13 Feb 1999 16:36:24 +0000 (16:36 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 13 Feb 1999 16:36:24 +0000 (16:36 +0000)
src/fileio.c

index 7fe5b002bbe1e6b8c19e283d78e60a326a0f311d..fd7322d7af4d5f54a04b7b5266288cd030c1c107 100644 (file)
@@ -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 (lstat (XSTRING (absname)->data, &st) < 0)
     return Qnil;
   return (st.st_mode & S_IFMT) == S_IFREG ? Qt : Qnil;
 #endif