changeset 20634:8e7e791c49ca

(Fdirectory_files): Fix arg to compile_pattern.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Jan 1998 23:28:38 +0000
parents 063756386696
children 3bdf83b27946
files src/dired.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dired.c	Fri Jan 09 23:24:24 1998 +0000
+++ b/src/dired.c	Fri Jan 09 23:28:38 1998 +0000
@@ -166,11 +166,13 @@
       /* MATCH might be a flawed regular expression.  Rather than
 	 catching and signaling our own errors, we just call
 	 compile_pattern to do the work for us.  */
+      /* Pass 1 for the MULTIBYTE arg
+	 because we do make multibyte strings if the contents warrant.  */
 #ifdef VMS
       bufp = compile_pattern (match, 0,
-			      buffer_defaults.downcase_table->contents, 0);
+			      buffer_defaults.downcase_table->contents, 0, 1);
 #else
-      bufp = compile_pattern (match, 0, 0, 0);
+      bufp = compile_pattern (match, 0, 0, 0, 1);
 #endif
     }