35642: signal queueing in zcontext_save_partial()

This commit is contained in:
Barton E. Schaefer
2015-06-27 15:53:21 -07:00
parent eb08892dcf
commit 811027a22a
2 changed files with 6 additions and 0 deletions

View File

@@ -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>

View File

@@ -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 */