diff options
author | Chet Ramey <chet.ramey@case.edu> | 2023-05-15 13:30:18 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2023-05-15 13:30:18 -0400 |
commit | e44e3d50dee26d12927baca188ad2a44a0135173 (patch) | |
tree | e4ff8c47078cdd7b23901205f7e1db26cd1f2242 /sig.c | |
parent | c375f8f45f4882db3098f9b54a19b75d2b176537 (diff) | |
download | bash-devel.tar.gz |
complete initial implementation of nofork command substitution (${ command; })devel
Diffstat (limited to 'sig.c')
-rw-r--r-- | sig.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -396,7 +396,7 @@ top_level_cleanup (void) run_unwind_protects (); loop_level = continuing = breaking = funcnest = 0; - interrupt_execution = retain_fifos = 0; + interrupt_execution = retain_fifos = executing_funsub = 0; comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; variable_context = 0; /* XXX */ } @@ -464,7 +464,7 @@ throw_to_top_level (void) run_unwind_protects (); loop_level = continuing = breaking = funcnest = 0; - interrupt_execution = retain_fifos = 0; + interrupt_execution = retain_fifos = executing_funsub = 0; comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; variable_context = 0; @@ -632,7 +632,7 @@ termsig_handler (int sig) /* Reset execution context */ loop_level = continuing = breaking = funcnest = 0; - interrupt_execution = retain_fifos = 0; + interrupt_execution = retain_fifos = executing_funsub = 0; comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; run_exit_trap (); /* XXX - run exit trap possibly in signal context? */ |