# HG changeset patch # User Eli Zaretskii # Date 1151133882 0 # Node ID 7579ed1c76f190446e60c68a4fbded7c02a8a856 # Parent 90cf42c37682d5f607059c7cbc37fc58fbd1517d (directory_files_internal) [WINDOWSNT]: Find files case-insensitively. diff -r 90cf42c37682 -r 7579ed1c76f1 src/dired.c --- 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