7 Bug-Reported-by: oguzismailuysal@gmail.com
8 Bug-Reference-ID: <CAH7i3LoY7C+pV_yG2LxwPNtAw3kiRkxmB4KcL1dTsih0u2BdKA@mail.gmail.com>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00108.html
13 Make sure child processes forked to run command substitutions are in the
16 Patch (apply with `patch -p0'):
18 *** ../bash-5.1-patched/subst.c 2020-12-16 17:01:32.000000000 -0500
19 --- subst.c 2020-12-25 19:20:25.000000000 -0500
25 + #if defined (JOB_CONTROL)
26 + /* Invariant: in child processes started to run command substitutions,
27 + pipeline_pgrp == shell_pgrp. Other parts of the shell assume this. */
28 + if (pipeline_pgrp > 0 && pipeline_pgrp != shell_pgrp)
29 + shell_pgrp = pipeline_pgrp;
32 set_sigint_handler (); /* XXX */
34 *** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
35 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
38 looks for to find the patch level (for the sccs version string). */
40 ! #define PATCHLEVEL 5
42 #endif /* _PATCHLEVEL_H_ */
44 looks for to find the patch level (for the sccs version string). */
46 ! #define PATCHLEVEL 6
48 #endif /* _PATCHLEVEL_H_ */