diff src/dired.c @ 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 1287a731cd99
line wrap: on
line diff
--- 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)
 	    {