summaryrefslogtreecommitdiff
path: root/quit.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2022-12-21 09:57:36 -0500
committerChet Ramey <chet.ramey@case.edu>2022-12-21 09:57:36 -0500
commit001918cdecd4ab25aa3d0e08a2f791ceeb68b9ca (patch)
tree3c112af5428cdbbae4c01a082f09875f99066048 /quit.h
parentc4a2e37470e223c171f9dcf70d353d0e1eab1ea9 (diff)
downloadbash-001918cdecd4ab25aa3d0e08a2f791ceeb68b9ca.tar.gz
handle signals at more places in brace expansion; fix for subshells changing terminal process group on signals
Diffstat (limited to 'quit.h')
-rw-r--r--quit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quit.h b/quit.h
index 0af1d121..2d6dca4e 100644
--- a/quit.h
+++ b/quit.h
@@ -45,6 +45,7 @@ extern volatile sig_atomic_t terminating_signal;
#define DELINTERRUPT interrupt_state--
#define ISINTERRUPT interrupt_state != 0
+#define ISTERMSIG terminating_signal != 0
/* The same sort of thing, this time just for signals that would ordinarily
cause the shell to terminate. */