summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-06-27 10:12:55 +0100
committerPeter Stephenson <pws@zsh.org>2017-06-27 10:12:55 +0100
commite19955614fb9dbc82ce367cf23a8ba4d975ab0ac (patch)
tree055a99b7857c3a6b6915ad7a16fcc9a002cd55b8
parentd78761c0030eb58fff9116819583c6669a44a8c6 (diff)
downloadzsh-e19955614fb9dbc82ce367cf23a8ba4d975ab0ac.tar.gz
zsh-e19955614fb9dbc82ce367cf23a8ba4d975ab0ac.tar.xz
zsh-e19955614fb9dbc82ce367cf23a8ba4d975ab0ac.zip
41368: Add missing unqueue_signals() to compctl.
-rw-r--r--ChangeLog4
-rw-r--r--Src/Zle/compctl.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5057d4026..7ed5ba565 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-06-27  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 41368: Src/Zle/compctl.c: missing unqueue_signals().
+
 2017-06-26  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 41345: Functions/Prompts/prompt_walters_setup: use consistent
diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c
index 9e6ccb404..5414b8ff6 100644
--- a/Src/Zle/compctl.c
+++ b/Src/Zle/compctl.c
@@ -1867,6 +1867,7 @@ ccmakehookfn(UNUSED(Hookdef dummy), struct ccmakedat *dat)
 	    redup(osi, 0);
 
 	    dat->lst = 0;
+	    unqueue_signals();
 	    return 0;
 	}
 	if (lastmatches) {
@@ -1890,6 +1891,7 @@ ccmakehookfn(UNUSED(Hookdef dummy), struct ccmakedat *dat)
 	    redup(osi, 0);
 
 	    dat->lst = 0;
+	    unqueue_signals();
 	    return 0;
 	}
 	if (!m || !(m = m->next))