emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32.c,v [EMACS_22_BASE]


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/w32.c,v [EMACS_22_BASE]
Date: Sat, 10 May 2008 07:56:43 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Eli Zaretskii <eliz>    08/05/10 07:56:42

Index: w32.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32.c,v
retrieving revision 1.111.2.10
retrieving revision 1.111.2.11
diff -u -b -r1.111.2.10 -r1.111.2.11
--- w32.c       10 Apr 2008 10:44:01 -0000      1.111.2.10
+++ w32.c       10 May 2008 07:56:42 -0000      1.111.2.11
@@ -2491,9 +2491,9 @@
        }
     }
 
-  if (!NILP (Vw32_get_true_file_attributes)
-      && !(EQ (Vw32_get_true_file_attributes, Qlocal) && 
-          GetDriveType (name) == DRIVE_FIXED)
+  if (!(NILP (Vw32_get_true_file_attributes)
+       || (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,
                           FILE_FLAG_BACKUP_SEMANTICS, NULL))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]