From: Eli Zaretskii Date: Sat, 24 Jun 2006 07:24:42 +0000 (+0000) Subject: (directory_files_internal) [WINDOWSNT]: Find files case-insensitively. X-Git-Tag: emacs-pretest-22.0.90~1851 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a9fbabec0923ecc87ef73f7760183b4bc93dcd8;p=emacs.git (directory_files_internal) [WINDOWSNT]: Find files case-insensitively. --- diff --git a/src/dired.c b/src/dired.c index 8c7c7fd5ac6..8b5d7851765 100644 --- a/src/dired.c +++ b/src/dired.c @@ -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