summaryrefslogtreecommitdiff
path: root/sig.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2023-04-24 15:25:45 -0400
committerChet Ramey <chet.ramey@case.edu>2023-04-24 15:25:45 -0400
commitec02facd13d9c03ec47fa02ad8da7ce826b34f8f (patch)
tree3dbb535c4f3d1eeb204f73e9eaf538626e89e9d4 /sig.c
parentd052bd6fd99f76408f307cedd86d5a3de0184938 (diff)
downloadbash-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sig.c b/sig.c
index fc0ae878..31b95adb 100644
--- a/sig.c
+++ b/sig.c
@@ -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? */