comparison 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
comparison
equal deleted inserted replaced
71461:90cf42c37682 71462:7579ed1c76f1
173 /* Pass 1 for the MULTIBYTE arg 173 /* Pass 1 for the MULTIBYTE arg
174 because we do make multibyte strings if the contents warrant. */ 174 because we do make multibyte strings if the contents warrant. */
175 #ifdef VMS 175 #ifdef VMS
176 bufp = compile_pattern (match, 0, 176 bufp = compile_pattern (match, 0,
177 buffer_defaults.downcase_table, 0, 1); 177 buffer_defaults.downcase_table, 0, 1);
178 #else 178 #else /* !VMS */
179 # ifdef WINDOWSNT
180 /* Windows users want case-insensitive wildcards. */
181 bufp = compile_pattern (match, 0,
182 buffer_defaults.case_canon_table, 0, 1);
183 # else /* !WINDOWSNT */
179 bufp = compile_pattern (match, 0, Qnil, 0, 1); 184 bufp = compile_pattern (match, 0, Qnil, 0, 1);
180 #endif 185 # endif /* !WINDOWSNT */
186 #endif /* !VMS */
181 } 187 }
182 188
183 /* Note: ENCODE_FILE and DECODE_FILE can GC because they can run 189 /* Note: ENCODE_FILE and DECODE_FILE can GC because they can run
184 run_pre_post_conversion_on_str which calls Lisp directly and 190 run_pre_post_conversion_on_str which calls Lisp directly and
185 indirectly. */ 191 indirectly. */