mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01:00
39545: Add some missing unqueue_signals().
All of these are added simply to fit existing logic in other branches.
This commit is contained in:
parent
36a11804b4
commit
4ab3fcc90d
11 changed files with 29 additions and 4 deletions
|
|
@ -2803,6 +2803,7 @@ assignsparam(char *s, char *val, int flags)
|
|||
zerr("read-only variable: %s", v->pm->node.nam);
|
||||
*ss = '[';
|
||||
zsfree(val);
|
||||
unqueue_signals();
|
||||
return NULL;
|
||||
}
|
||||
flags &= ~ASSPM_WARN_CREATE;
|
||||
|
|
@ -3117,6 +3118,7 @@ setnparam(char *s, mnumber val)
|
|||
if (!(v = getvalue(&vbuf, &t, 1))) {
|
||||
DPUTS(!v, "BUG: value not found for new parameter");
|
||||
/* errflag |= ERRFLAG_ERROR; */
|
||||
unqueue_signals();
|
||||
return NULL;
|
||||
}
|
||||
if (!was_unset && isset(WARNCREATEGLOBAL) && locallevel > forklevel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue