]> git.eshelyaron.com Git - emacs.git/commitdiff
(directory_files_internal) [WINDOWSNT]: Find files case-insensitively.
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Jun 2006 07:24:42 +0000 (07:24 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Jun 2006 07:24:42 +0000 (07:24 +0000)
src/dired.c

index 8c7c7fd5ac68c374c63d71989008be46b7f7237c..8b5d7851765eb79551faa008b2500e17de410931 100644 (file)
@@ -175,9 +175,15 @@ directory_files_internal (directory, full, match, nosort, attrs, id_format)
 #ifdef VMS
       bufp = compile_pattern (match, 0,
                              buffer_defaults.downcase_table, 0, 1);
-#else
+#else  /* !VMS */
+# ifdef WINDOWSNT
+      /* Windows users want case-insensitive wildcards.  */
+      bufp = compile_pattern (match, 0,
+                             buffer_defaults.case_canon_table, 0, 1);
+# else /* !WINDOWSNT */
       bufp = compile_pattern (match, 0, Qnil, 0, 1);
-#endif
+# endif         /* !WINDOWSNT */
+#endif  /* !VMS */
     }
 
   /* Note: ENCODE_FILE and DECODE_FILE can GC because they can run