From ae92cadc75fbf7e8ec356cf09d3f73db9868424b Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Thu, 26 Sep 2013 21:27:27 -0700 Subject: 31772: queue_signals() to prevent re-entry into endparamscope(). --- ChangeLog | 3 +++ Src/params.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3fd805473..2c50b3228 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2013-09-26 Barton E. Schaefer + * 31772: Src/params.c: queue_signals() to prevent re-entry into + endparamscope(). + * 31770: Src/hist.c: memmove() instead of memcpy() for overlapping regions. diff --git a/Src/params.c b/Src/params.c index 8649178ef..d6711e4fa 100644 --- a/Src/params.c +++ b/Src/params.c @@ -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(); } /**/ -- cgit 1.4.1