(stat): Fix last change.

This commit is contained in:
Eli Zaretskii 2008-05-09 19:09:33 +00:00
parent 8aaaec6b62
commit 2a85f0c2f0

View file

@ -2899,7 +2899,7 @@ stat (const char * path, struct stat * buf)
if (!(NILP (Vw32_get_true_file_attributes)
|| (EQ (Vw32_get_true_file_attributes, Qlocal) &&
GetDriveType (name) != DRIVE_FIXED)))
GetDriveType (name) != DRIVE_FIXED))
/* No access rights required to get info. */
&& (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS, NULL))