summaryrefslogtreecommitdiff
path: root/source/ap/ash/patches/ash-sighup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/ash/patches/ash-sighup.patch')
-rw-r--r--source/ap/ash/patches/ash-sighup.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/ap/ash/patches/ash-sighup.patch b/source/ap/ash/patches/ash-sighup.patch
new file mode 100644
index 00000000..b4d1bc04
--- /dev/null
+++ b/source/ap/ash/patches/ash-sighup.patch
@@ -0,0 +1,18 @@
+--- ash-0.4.0/jobs.c.orig Tue Jul 3 19:10:28 2001
++++ ash-0.4.0/jobs.c Tue Jul 3 19:12:11 2001
+@@ -712,6 +712,7 @@
+ } else if (mode == FORK_BG) {
+ ignoresig(SIGINT);
+ ignoresig(SIGQUIT);
++ ignoresig(SIGHUP);
+ if ((jp == NULL || jp->nprocs == 0) &&
+ ! fd0_redirected_p ()) {
+ close(0);
+@@ -723,6 +724,7 @@
+ if (mode == FORK_BG) {
+ ignoresig(SIGINT);
+ ignoresig(SIGQUIT);
++ ignoresig(SIGHUP);
+ if ((jp == NULL || jp->nprocs == 0) &&
+ ! fd0_redirected_p ()) {
+ close(0);