diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -2491,9 +2491,9 @@ stat (const char * path, struct stat * buf) | |||
| 2491 | } | 2491 | } |
| 2492 | } | 2492 | } |
| 2493 | 2493 | ||
| 2494 | if (!NILP (Vw32_get_true_file_attributes) | 2494 | if (!(NILP (Vw32_get_true_file_attributes) |
| 2495 | && !(EQ (Vw32_get_true_file_attributes, Qlocal) && | 2495 | || (EQ (Vw32_get_true_file_attributes, Qlocal) && |
| 2496 | GetDriveType (name) == DRIVE_FIXED) | 2496 | GetDriveType (name) != DRIVE_FIXED)) |
| 2497 | /* No access rights required to get info. */ | 2497 | /* No access rights required to get info. */ |
| 2498 | && (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING, | 2498 | && (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING, |
| 2499 | FILE_FLAG_BACKUP_SEMANTICS, NULL)) | 2499 | FILE_FLAG_BACKUP_SEMANTICS, NULL)) |