to a unibyte string initially, to avoid possible misinterpretation
of some bytes as the internal form of Emacs characters.
+2001-01-17 Andrew Innes <andrewi@gnu.org>
+
+ * dired.c (directory_files_internal): Convert result from readdir
+ to a unibyte string initially, to avoid possible misinterpretation
+ of some bytes as the internal form of Emacs characters.
+
2001-01-17 Kenichi Handa <handa@etl.go.jp>
* fns.c (concat): Be sure to avoid putting the same `composition'
struct gcpro gcpro1, gcpro2;
len = NAMLEN (dp);
- name = finalname = make_string (dp->d_name, len);
+ name = finalname = make_unibyte_string (dp->d_name, len);
GCPRO2 (finalname, name);
/* Note: ENCODE_FILE can GC; it should protect its argument,