aboutsummaryrefslogtreecommitdiff
path: root/readline/complete.c
diff options
context:
space:
mode:
authorSterling Augustine <saugustine@google.com>2011-10-12 00:23:23 +0000
committerSterling Augustine <saugustine@google.com>2011-10-12 00:23:23 +0000
commit729b865260773262bb1f1017fbcf724e07814b66 (patch)
treea77afcafe36c569333e4e26a04cd0f6fd1260b8f /readline/complete.c
parent23ac9ad646cf3fc8a92d2e17b1bdc3558d8b0760 (diff)
downloadgdb-729b865260773262bb1f1017fbcf724e07814b66.zip
gdb-729b865260773262bb1f1017fbcf724e07814b66.tar.gz
gdb-729b865260773262bb1f1017fbcf724e07814b66.tar.bz2
2011-05-11 Sterling Augustine <saugustine@google.com>
* complete.c (rl_completion_matches): Undo inadvertant checkin.
Diffstat (limited to 'readline/complete.c')
-rw-r--r--readline/complete.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/readline/complete.c b/readline/complete.c
index 7a1e6d9..a9c46df 100644
--- a/readline/complete.c
+++ b/readline/complete.c
@@ -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