Commit 19ced600 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(stat): Fix last change.

parent 64fbeb16
...@@ -3381,7 +3381,7 @@ stat (const char * path, struct stat * buf) ...@@ -3381,7 +3381,7 @@ stat (const char * path, struct stat * buf)
} }
if (!(NILP (Vw32_get_true_file_attributes) if (!(NILP (Vw32_get_true_file_attributes)
|| (EQ (Vw32_get_true_file_attributes, Qlocal) && !is_slow_fs (name))) || (EQ (Vw32_get_true_file_attributes, Qlocal) && is_slow_fs (name)))
/* No access rights required to get info. */ /* No access rights required to get info. */
&& (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING, && (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS, NULL)) FILE_FLAG_BACKUP_SEMANTICS, NULL))
......
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