]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - bash/patches/bash-4.1-defer-sigchld-trap.patch
bash: Update to 4.3
[ipfire-3.x.git] / bash / patches / bash-4.1-defer-sigchld-trap.patch
diff --git a/bash/patches/bash-4.1-defer-sigchld-trap.patch b/bash/patches/bash-4.1-defer-sigchld-trap.patch
new file mode 100644 (file)
index 0000000..e00adec
--- /dev/null
@@ -0,0 +1,11 @@
+diff -pruN bash-4.1/jobs.c bash-4.1.patched/jobs.c
+--- bash-4.1/jobs.c    2009-11-30 03:42:05.000000000 +0530
++++ bash-4.1.patched/jobs.c    2012-03-06 16:44:15.706595703 +0530
+@@ -3037,6 +3037,7 @@ waitchld (wpid, block)
+   pid_t pid;
+   int call_set_current, last_stopped_job, job, children_exited, waitpid_flags;
++  int called_from_sighand = sigchld;
+   static int wcontinued = WCONTINUED; /* run-time fix for glibc problem */
+   call_set_current = children_exited = 0;