From bd73563158de9b663c701735c96db760c0ed20c4 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 10 Apr 2008 10:44:51 +0000 Subject: [PATCH] Fix last change. --- src/ChangeLog | 8 ++++++++ src/w32.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index ea69708e3fe..81379fd1130 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2008-04-10 Jason Rumney + + * w32.c (stat): When Vw32_get_true_file_attributes is Qlocal, get + attributes only for local files. + + * w32proc.c (syms_of_ntproc): Change Vw32_get_true_file attributes + default to Qlocal. + 2008-04-06 YAMAMOTO Mitsuharu * Makefile.in (MAC_OBJ): Add mactoolbox.o. diff --git a/src/w32.c b/src/w32.c index bc26d75e78e..894160a275d 100644 --- a/src/w32.c +++ b/src/w32.c @@ -2492,7 +2492,7 @@ stat (const char * path, struct stat * buf) } if (!NILP (Vw32_get_true_file_attributes) - && !(EQ (vw32_get_true_file_attributes, Qlocal) && + && !(EQ (Vw32_get_true_file_attributes, Qlocal) && GetDriveType (name) == DRIVE_FIXED) /* No access rights required to get info. */ && (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING, -- 2.39.2