diff src/dired.c @ 71462:7579ed1c76f1

(directory_files_internal) [WINDOWSNT]: Find files case-insensitively.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 24 Jun 2006 07:24:42 +0000
parents 3bd95f4f2941
children 0b0685327de8 138ce2701550
line wrap: on
line diff
--- a/src/dired.c	Sat Jun 24 07:00:58 2006 +0000
+++ b/src/dired.c	Sat Jun 24 07:24:42 2006 +0000
@@ -175,9 +175,15 @@
 #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