2011-05-11 Sterling Augustine <saugustine@google.com>
* complete.c (rl_completion_matches): Undo inadvertant checkin.
This commit is contained in:
parent
23ac9ad646
commit
729b865260
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
Avoid free from a signal handler.
|
Avoid free from a signal handler.
|
||||||
|
|
|
@ -1994,8 +1994,7 @@ rl_completion_matches (text, entry_function)
|
||||||
match_list[1] = (char *)NULL;
|
match_list[1] = (char *)NULL;
|
||||||
|
|
||||||
_rl_interrupt_immediately++;
|
_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)
|
if (matches + 1 == match_list_size)
|
||||||
match_list = (char **)xrealloc
|
match_list = (char **)xrealloc
|
||||||
|
|
Loading…
Reference in a new issue