]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/bash/bash43-002
735b7b81a1639ef4cdda095bb06e4b6cb70753e0
[ipfire-2.x.git] / src / patches / bash / bash43-002
1 BASH PATCH REPORT
2 =================
3
4 Bash-Release: 4.3
5 Patch-ID: bash43-002
6
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
10
11 Bug-Description:
12
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.
15
16 Patch (apply with `patch -p0'):
17
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
20 ***************
21 *** 921,925 ****
22
23 #if defined (JOB_CONTROL)
24 ! save_pipeline (1); /* XXX only provides one save level */
25 #endif
26
27 --- 921,926 ----
28
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 */
32 #endif
33
34 ***************
35 *** 941,945 ****
36
37 #if defined (JOB_CONTROL)
38 ! restore_pipeline (1);
39 #endif
40
41 --- 942,947 ----
42
43 #if defined (JOB_CONTROL)
44 ! if (sig != DEBUG_TRAP) /* run_debug_trap does this */
45 ! restore_pipeline (1);
46 #endif
47
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
50 ***************
51 *** 26,30 ****
52 looks for to find the patch level (for the sccs version string). */
53
54 ! #define PATCHLEVEL 1
55
56 #endif /* _PATCHLEVEL_H_ */
57 --- 26,30 ----
58 looks for to find the patch level (for the sccs version string). */
59
60 ! #define PATCHLEVEL 2
61
62 #endif /* _PATCHLEVEL_H_ */