comparison src/w32.c @ 94293:ca9efc5939fc

Merge from emacs--rel--22 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
author Miles Bader <miles@gnu.org>
date Wed, 23 Apr 2008 05:55:42 +0000
parents 40f40216ff24 484a558118e3
children 89a5cb9cf680
comparison
equal deleted inserted replaced
94292:f07af351ed0b 94293:ca9efc5939fc
108 void globals_of_w32 (); 108 void globals_of_w32 ();
109 109
110 extern Lisp_Object Vw32_downcase_file_names; 110 extern Lisp_Object Vw32_downcase_file_names;
111 extern Lisp_Object Vw32_generate_fake_inodes; 111 extern Lisp_Object Vw32_generate_fake_inodes;
112 extern Lisp_Object Vw32_get_true_file_attributes; 112 extern Lisp_Object Vw32_get_true_file_attributes;
113 /* Defined in process.c for its own purpose. */
114 extern Lisp_Object Qlocal;
115
113 extern int w32_num_mouse_buttons; 116 extern int w32_num_mouse_buttons;
114 117
115 118
116 /* Initialization states. 119 /* Initialization states.
117 120
2642 FindClose (fh); 2645 FindClose (fh);
2643 } 2646 }
2644 } 2647 }
2645 2648
2646 if (!NILP (Vw32_get_true_file_attributes) 2649 if (!NILP (Vw32_get_true_file_attributes)
2650 && !(EQ (Vw32_get_true_file_attributes, Qlocal) &&
2651 GetDriveType (name) == DRIVE_FIXED)
2647 /* No access rights required to get info. */ 2652 /* No access rights required to get info. */
2648 && (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING, 2653 && (fh = CreateFile (name, 0, 0, NULL, OPEN_EXISTING,
2649 FILE_FLAG_BACKUP_SEMANTICS, NULL)) 2654 FILE_FLAG_BACKUP_SEMANTICS, NULL))
2650 != INVALID_HANDLE_VALUE) 2655 != INVALID_HANDLE_VALUE)
2651 { 2656 {