nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

Blame SOURCES/bash-4.1-defer-sigchld-trap.patch

50ece2
diff -pruN bash-4.1/jobs.c bash-4.1.patched/jobs.c
50ece2
--- bash-4.1/jobs.c	2009-11-30 03:42:05.000000000 +0530
50ece2
+++ bash-4.1.patched/jobs.c	2012-03-06 16:44:15.706595703 +0530
50ece2
@@ -3037,6 +3037,7 @@ waitchld (wpid, block)
50ece2
   pid_t pid;
50ece2
 
50ece2
   int call_set_current, last_stopped_job, job, children_exited, waitpid_flags;
50ece2
+  int called_from_sighand = sigchld;
50ece2
   static int wcontinued = WCONTINUED;	/* run-time fix for glibc problem */
50ece2
 
50ece2
   call_set_current = children_exited = 0;