mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-07 12:20:50 +02:00
commit bash-20121221 snapshot
This commit is contained in:
@@ -787,11 +787,11 @@ run_exit_trap ()
|
||||
retval = trap_saved_exit_value;
|
||||
running_trap = 1;
|
||||
|
||||
code = setjmp (top_level);
|
||||
code = setjmp_nosigs (top_level);
|
||||
|
||||
/* If we're in a function, make sure return longjmps come here, too. */
|
||||
if (return_catch_flag)
|
||||
function_code = setjmp (return_catch);
|
||||
function_code = setjmp_nosigs (return_catch);
|
||||
|
||||
if (code == 0 && function_code == 0)
|
||||
{
|
||||
@@ -868,7 +868,7 @@ _run_trap_internal (sig, tag)
|
||||
if (return_catch_flag)
|
||||
{
|
||||
COPY_PROCENV (return_catch, save_return_catch);
|
||||
function_code = setjmp (return_catch);
|
||||
function_code = setjmp_nosigs (return_catch);
|
||||
}
|
||||
|
||||
flags = SEVAL_NONINT|SEVAL_NOHIST;
|
||||
|
||||
Reference in New Issue
Block a user