diff options
-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 */ |