diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-06-27 15:53:21 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-06-27 15:53:21 -0700 |
commit | 811027a22a806f753537abee1575da8714d3fa0a (patch) | |
tree | fd0127f61bd961a50267a8ed18b60ea26203ff6e | |
parent | eb08892dcfa6d0b5a22532ae37f9ed52f478b68e (diff) | |
download | zsh-811027a22a806f753537abee1575da8714d3fa0a.tar.gz zsh-811027a22a806f753537abee1575da8714d3fa0a.tar.xz zsh-811027a22a806f753537abee1575da8714d3fa0a.zip |
35642: signal queueing in zcontext_save_partial()
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/context.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 7e06cb471..99e7ccca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-06-27 Barton E. Schaefer <schaefer@zsh.org> + * 35642: Src/context.c: signal queueing in zcontext_save_partial() + * 35634: Src/exec.c: handle failure of gettempname() in namedpipe() 2015-06-27 Peter Stephenson <p.w.stephenson@ntlworld.com> diff --git a/Src/context.c b/Src/context.c index 1b8741f46..2dc8d3b89 100644 --- a/Src/context.c +++ b/Src/context.c @@ -53,6 +53,8 @@ zcontext_save_partial(int parts) { struct context_stack *cs; + queue_signals(); + cs = (struct context_stack *)malloc(sizeof(struct context_stack)); if (parts & ZCONTEXT_HIST) { @@ -67,6 +69,8 @@ zcontext_save_partial(int parts) cs->next = cstack; cstack = cs; + + unqueue_signals(); } /* save context in full */ |