From: sterling Date: Wed, 12 Oct 2011 00:23:23 +0000 (+0000) Subject: 2011-05-11 Sterling Augustine X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e7b408d653eb6b3cb814cad92b4f10da729b77fb;p=pf3gnuchains%2Fpf3gnuchains4x.git 2011-05-11 Sterling Augustine * complete.c (rl_completion_matches): Undo inadvertant checkin. --- diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb index 229aa31e9d..afc1e4964e 100644 --- a/readline/ChangeLog.gdb +++ b/readline/ChangeLog.gdb @@ -1,3 +1,7 @@ +2011-05-11 Sterling Augustine + + * complete.c (rl_completion_matches): Undo inadvertant checkin. + 2011-06-29 Jan Kratochvil Avoid free from a signal handler. diff --git a/readline/complete.c b/readline/complete.c index 7a1e6d98c5..a9c46dfc15 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