mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
35642: signal queueing in zcontext_save_partial()
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user