changeset 102622:d4e19d304e30

(file_name_completion): Disable the first optimization just installed, since it is not implemented correctly.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 18 Mar 2009 02:26:29 +0000
parents 7183ab1b842a
children e8b5b4dc35ec
files src/ChangeLog src/dired.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Mar 17 19:05:40 2009 +0000
+++ b/src/ChangeLog	Wed Mar 18 02:26:29 2009 +0000
@@ -1,3 +1,8 @@
+2009-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* dired.c (file_name_completion): Disable the first optimization just
+	installed, since it is not implemented correctly.
+
 2009-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* dired.c (file_name_completion): Check completion-ignored-extensions
--- a/src/dired.c	Tue Mar 17 19:05:40 2009 +0000
+++ b/src/dired.c	Wed Mar 18 02:26:29 2009 +0000
@@ -538,6 +538,7 @@
 	{
 	  int skip;
 
+#if 0 /* FIXME: The `scmp' call compares an encoded and a decoded string. */
 	  /* If this entry matches the current bestmatch, the only
 	     thing it can do is increase matchcount, so don't bother
 	     investigating it any further.  */
@@ -548,6 +549,7 @@
 	      && len >= bestmatchsize
 	      && 0 > scmp (dp->d_name, SDATA (bestmatch), bestmatchsize))
 	    continue;
+#endif
 
 	  if (directoryp)
 	    {