summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-11-05 13:49:07 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-11-05 13:49:07 -0700
commitd91ffb1db2784c3ff17d93db8d1fe38816fc5129 (patch)
tree5acec619f38c23955fb459e42a2d9761a913c3df
parent58ce2f119a42f115e9ed5c1b6a35e5837d4f6776 (diff)
downloadzsh-d91ffb1db2784c3ff17d93db8d1fe38816fc5129.tar.gz
zsh-d91ffb1db2784c3ff17d93db8d1fe38816fc5129.tar.xz
zsh-d91ffb1db2784c3ff17d93db8d1fe38816fc5129.zip
39838: another missing unqueue_signals()
-rw-r--r--ChangeLog4
-rw-r--r--Src/builtin.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a8f2c0b1d..bcea79190 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-05  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 39838: Src/builtin.c: another missing unqueue_signals()
+
 2016-11-04  Oliver Kiddle  <opk@zsh.org>
 
 	* 39829: Src/Zle/compcore.c: when compstate[insert] is emptied
diff --git a/Src/builtin.c b/Src/builtin.c
index b7b7bdf18..6c9d05872 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4552,6 +4552,7 @@ bin_print(char *name, char **args, Options ops, int func)
 		    short *words;
 		    if (nwords > 1) {
 			zwarnnam(name, "option -S takes a single argument");
+			unqueue_signals();
 			return 1;
 		    }
 		    words = NULL;