diff options
author | Jason Rumney <jasonr@gnu.org> | 2008-04-10 10:44:51 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2008-04-10 10:44:51 +0000 |
commit | bd73563158de9b663c701735c96db760c0ed20c4 (patch) | |
tree | 529392d65654812c0dabb74b8909c26afe840f78 /src | |
parent | 2fa4f0908a61d12a697265793b28fd26cf2e0e9f (diff) | |
download | emacs-bd73563158de9b663c701735c96db760c0ed20c4.tar.gz emacs-bd73563158de9b663c701735c96db760c0ed20c4.tar.bz2 emacs-bd73563158de9b663c701735c96db760c0ed20c4.zip |
Fix last change.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 8 | ||||
-rw-r--r-- | src/w32.c | 2 |
2 files changed, 9 insertions, 1 deletions
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 <jasonr@gnu.org> + + * 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 <mituharu@math.s.chiba-u.ac.jp> * 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, |