diff options
| author | Miles Bader | 2008-04-23 05:55:42 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-04-23 05:55:42 +0000 |
| commit | a113b3ca322fd73d97d0d9d69c9f48dc13fb326a (patch) | |
| tree | 37b3ad22a198a83f68738ef86aec187bb6d926d9 /src/w32.c | |
| parent | e96a8d6dc0ffc35cf6c02924de2453c69fa8f6fe (diff) | |
| parent | 81fe843b5a3cc7708e0800aeb5bc0dbe448e800a (diff) | |
| download | emacs-a113b3ca322fd73d97d0d9d69c9f48dc13fb326a.tar.gz emacs-a113b3ca322fd73d97d0d9d69c9f48dc13fb326a.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
Diffstat (limited to 'src/w32.c')
| -rw-r--r-- | src/w32.c | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -110,6 +110,9 @@ void globals_of_w32 (); | |||
| 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 | ||
| @@ -2644,6 +2647,8 @@ stat (const char * path, struct stat * buf) | |||
| 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)) |