diff options
author | Chet Ramey <chet.ramey@case.edu> | 2023-04-24 15:25:45 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2023-04-24 15:25:45 -0400 |
commit | ec02facd13d9c03ec47fa02ad8da7ce826b34f8f (patch) | |
tree | 3dbb535c4f3d1eeb204f73e9eaf538626e89e9d4 /sig.c | |
parent | d052bd6fd99f76408f307cedd86d5a3de0184938 (diff) | |
download | bash-ec02facd13d9c03ec47fa02ad8da7ce826b34f8f.tar.gz |
allow FIGNORE suffixes to match entire pathnames; allow SIGINT received while a function is executing in a loop to break the loop
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; - executing_list = retain_fifos = 0; + interrupt_execution = retain_fifos = 0; comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; } @@ -463,7 +463,7 @@ throw_to_top_level (void) run_unwind_protects (); loop_level = continuing = breaking = funcnest = 0; - executing_list = retain_fifos = 0; + interrupt_execution = retain_fifos = 0; comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; if (interactive && print_newline) @@ -630,7 +630,7 @@ termsig_handler (int sig) /* Reset execution context */ loop_level = continuing = breaking = funcnest = 0; - executing_list = retain_fifos = 0; + interrupt_execution = retain_fifos = 0; comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; run_exit_trap (); /* XXX - run exit trap possibly in signal context? */ |