From a15007fe649d748783a166c3a016f2c2cb220b3f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 15 Aug 2010 18:40:04 +0000 Subject: 28167: reset more variables on invalidating completion list --- ChangeLog | 7 ++++++- Src/Zle/compresult.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 20327e31e..dc310e88a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-08-15 Peter Stephenson + + * 28167: Src/Zle/compresult.c: reset more variables when + invalidating completion list. + 2010-08-13 Peter Stephenson * 28160 modified as per 28164: Src/Zle/zle_refresh.c: when the @@ -13525,5 +13530,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5056 $ +* $Revision: 1.5057 $ ***************************************************** diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 43733b0c6..bdfcfd739 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -2284,6 +2284,8 @@ invalidate_list(void) zsfree(minfo.postbr); minfo.postbr = minfo.prebr = NULL; compwidget = NULL; + nmatches = 0; + amatches = NULL; return 0; } -- cgit v1.2.3