7 Bug-Reported-by: Moe Tunes <moetunes42@gmail.com>
8 Bug-Reference-ID: <53103F49.3070100@gmail.com>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-02/msg00086.html
13 A change to save state while running the DEBUG trap caused pipelines to hang
14 on systems which need process group synchronization while building pipelines.
16 Patch (apply with `patch -p0'):
18 *** ../bash-4.3/trap.c 2014-02-05 10:03:21.000000000 -0500
19 --- trap.c 2014-02-28 09:51:43.000000000 -0500
23 #if defined (JOB_CONTROL)
24 ! save_pipeline (1); /* XXX only provides one save level */
29 #if defined (JOB_CONTROL)
30 ! if (sig != DEBUG_TRAP) /* run_debug_trap does this */
31 ! save_pipeline (1); /* XXX only provides one save level */
37 #if defined (JOB_CONTROL)
38 ! restore_pipeline (1);
43 #if defined (JOB_CONTROL)
44 ! if (sig != DEBUG_TRAP) /* run_debug_trap does this */
45 ! restore_pipeline (1);
48 *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
49 --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400
52 looks for to find the patch level (for the sccs version string). */
54 ! #define PATCHLEVEL 1
56 #endif /* _PATCHLEVEL_H_ */
58 looks for to find the patch level (for the sccs version string). */
60 ! #define PATCHLEVEL 2
62 #endif /* _PATCHLEVEL_H_ */