Commit 4cd8344a authored by Karl Heuer's avatar Karl Heuer

(Ffile_regular_p): Undo previous change.

parent 701b1ec2
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment