2011-10-11 Sterling Augustine <saugustine@google.com>

* dwarf2read.c: Undo inadvertent changes in previous commit.
This commit is contained in:
Sterling Augustine
2011-10-11 23:30:27 +00:00
parent 4391ee7045
commit 96408a79fd
3 changed files with 409 additions and 48 deletions

View File

@@ -1994,7 +1994,8 @@ rl_completion_matches (text, entry_function)
match_list[1] = (char *)NULL;
_rl_interrupt_immediately++;
while (string = (*entry_function) (text, matches))
while (string = (*entry_function) (text, matches)
&& matches <= rl_completion_query_items)
{
if (matches + 1 == match_list_size)
match_list = (char **)xrealloc