2011-05-11 Sterling Augustine <saugustine@google.com>
authorSterling Augustine <saugustine@google.com>
Wed, 12 Oct 2011 00:23:23 +0000 (00:23 +0000)
committerSterling Augustine <saugustine@google.com>
Wed, 12 Oct 2011 00:23:23 +0000 (00:23 +0000)
* complete.c (rl_completion_matches): Undo inadvertant checkin.

readline/ChangeLog.gdb
readline/complete.c

index 229aa31e9d4da8c41d5a19535a286a279117e550..afc1e4964e0cb30c3118fa024365a0970a5e03e3 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-11  Sterling Augustine  <saugustine@google.com>
+
+       * complete.c (rl_completion_matches): Undo inadvertant checkin.
+
 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Avoid free from a signal handler.
index 7a1e6d98c57f57f5215165fbae78f4a43de99228..a9c46dfc15ee9e9c7ffe5468d270eb2a6c3ba79d 100644 (file)
@@ -1994,8 +1994,7 @@ rl_completion_matches (text, entry_function)
   match_list[1] = (char *)NULL;
 
   _rl_interrupt_immediately++;
-  while (string = (*entry_function) (text, matches)
-         && matches <= rl_completion_query_items)
+  while (string = (*entry_function) (text, matches))
     {
       if (matches + 1 == match_list_size)
        match_list = (char **)xrealloc