]> git.pld-linux.org Git - packages/ash.git/commitdiff
- make ash behaviour identical to tcsh on background processes that receive
authorkloczek <kloczek@pld-linux.org>
Tue, 3 Jul 2001 17:14:11 +0000 (17:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  SIGHUP (based on patch from Conectiva).

Changed files:
    ash-sighup.patch -> 1.1

ash-sighup.patch [new file with mode: 0644]

diff --git a/ash-sighup.patch b/ash-sighup.patch
new file mode 100644 (file)
index 0000000..b4d1bc0
--- /dev/null
@@ -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);
This page took 0.127438 seconds and 4 git commands to generate.