]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/bash/bash51-003
Merge branch 'next'
[ipfire-2.x.git] / src / patches / bash / bash51-003
CommitLineData
f9f6cbd8
AB
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 5.1
5Patch-ID: bash51-003
6
7Bug-Reported-by: oguzismailuysal@gmail.com
8Bug-Reference-ID: <CAH7i3LpG91BnNcDtaTUm2Ph7a+PnJkuh6nAc87cVL7_38tOaMQ@mail.gmail.com>
9Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00050.html
10
11Bug-Description:
12
13Bash does not put a command substitution process that is started to perform an
14expansion in a child process into the right process group where it can receive
15keyboard-generated signals.
16
17Patch (apply with `patch -p0'):
18
19*** ../bash-5.1-patched/subst.c 2020-11-16 10:33:15.000000000 -0500
20--- subst.c 2020-12-12 13:50:11.000000000 -0500
21***************
22*** 6357,6362 ****
23 #if defined (JOB_CONTROL)
24 old_pipeline_pgrp = pipeline_pgrp;
25! /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline. */
26! if ((subshell_environment & SUBSHELL_PIPE) == 0)
27 pipeline_pgrp = shell_pgrp;
28 cleanup_the_pipeline ();
29--- 6357,6364 ----
30 #if defined (JOB_CONTROL)
31 old_pipeline_pgrp = pipeline_pgrp;
32! /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline or
33! we've already forked to run a disk command (and are expanding redirections,
34! for example). */
35! if ((subshell_environment & (SUBSHELL_FORK|SUBSHELL_PIPE)) == 0)
36 pipeline_pgrp = shell_pgrp;
37 cleanup_the_pipeline ();
38
39*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
40--- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
41***************
42*** 26,30 ****
43 looks for to find the patch level (for the sccs version string). */
44
45! #define PATCHLEVEL 2
46
47 #endif /* _PATCHLEVEL_H_ */
48--- 26,30 ----
49 looks for to find the patch level (for the sccs version string). */
50
51! #define PATCHLEVEL 3
52
53 #endif /* _PATCHLEVEL_H_ */