mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 00:31:07 +02:00
31772: queue_signals() to prevent re-entry into endparamscope().
This commit is contained in:
parent
98b0828c63
commit
ae92cadc75
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2013-09-26 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 31772: Src/params.c: queue_signals() to prevent re-entry into
|
||||
endparamscope().
|
||||
|
||||
* 31770: Src/hist.c: memmove() instead of memcpy() for overlapping
|
||||
regions.
|
||||
|
||||
|
|
|
@ -4667,10 +4667,12 @@ startparamscope(void)
|
|||
mod_export void
|
||||
endparamscope(void)
|
||||
{
|
||||
queue_signals();
|
||||
locallevel--;
|
||||
/* This pops anything from a higher locallevel */
|
||||
saveandpophiststack(0, HFILE_USE_OPTIONS);
|
||||
scanhashtable(paramtab, 0, 0, 0, scanendscope, 0);
|
||||
unqueue_signals();
|
||||
}
|
||||
|
||||
/**/
|
||||
|
|
Loading…
Reference in a new issue