emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/dired.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/dired.c
Date: Thu, 28 Feb 2002 20:06:35 -0500

Index: emacs/src/dired.c
diff -c emacs/src/dired.c:1.93 emacs/src/dired.c:1.94
*** emacs/src/dired.c:1.93      Tue Dec 18 17:50:26 2001
--- emacs/src/dired.c   Wed Dec 19 12:14:39 2001
***************
*** 572,577 ****
--- 572,580 ----
                    elt = XCAR (tem);
                    if (!STRINGP (elt))
                      continue;
+                   /* Need to encode ELT, since scmp compares unibyte
+                      strings only.  */
+                   elt = ENCODE_FILE (elt);
                    elt_len = XSTRING (elt)->size - 1; /* -1 for trailing / */
                    if (elt_len <= 0)
                      continue;
***************
*** 598,603 ****
--- 601,609 ----
                  {
                    elt = XCAR (tem);
                    if (!STRINGP (elt)) continue;
+                   /* Need to encode ELT, since scmp compares unibyte
+                      strings only.  */
+                   elt = ENCODE_FILE (elt);
                    skip = len - XSTRING (elt)->size;
                    if (skip < 0) continue;
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]