summaryrefslogtreecommitdiff
path: root/app-shells/bash/files/bash-3.0-trap-fg-signals.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /app-shells/bash/files/bash-3.0-trap-fg-signals.patch
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'app-shells/bash/files/bash-3.0-trap-fg-signals.patch')
-rw-r--r--app-shells/bash/files/bash-3.0-trap-fg-signals.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/app-shells/bash/files/bash-3.0-trap-fg-signals.patch b/app-shells/bash/files/bash-3.0-trap-fg-signals.patch
deleted file mode 100644
index c7010511853f..000000000000
--- a/app-shells/bash/files/bash-3.0-trap-fg-signals.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Don't barf on handled signals inside of scripts. Makes for nicer output.
-
-patch by Martin Schlemmer <azarah@gentoo.org>
-
---- a/jobs.c
-+++ b/jobs.c
-@@ -2893,11 +2893,11 @@
- }
- else if (IS_FOREGROUND (job))
- {
--#if !defined (DONT_REPORT_SIGPIPE)
-- if (termsig && WIFSIGNALED (s) && termsig != SIGINT)
--#else
-- if (termsig && WIFSIGNALED (s) && termsig != SIGINT && termsig != SIGPIPE)
--#endif
-+ if (termsig && WIFSIGNALED (s) && termsig != SIGINT &&
-+#if defined (DONT_REPORT_SIGPIPE)
-+ termsig != SIGPIPE &&
-+#endif
-+ signal_is_trapped (termsig) == 0)
- {
- fprintf (stderr, "%s", j_strsignal (termsig));
-