1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00

(directory_files_internal) [WINDOWSNT]: Find files case-insensitively.

This commit is contained in:
Eli Zaretskii 2006-06-24 07:24:42 +00:00
parent 310411dbb5
commit 1a9fbabec0

View 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