9e778b044c
- removed 0001-bash50-001.patch to 0018-bash50-018.patch - added 0001-bash51-001.patch, 0002-bash51-002.patch, 0003-bash51-003.patch, 0004-bash51-004.patch - moved 0019-input.h-add-missing-include-on-stdio.h.patch to 0005-input.h-add-missing-include-on-stdio.h.patch - removed 0020-locale.c-fix-build-without-wchar.patch (superseded by upstream commit) - added 0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch to fix typo from upstream commit (see previous patch) - added 0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
57 lines
1.9 KiB
Diff
57 lines
1.9 KiB
Diff
[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-003]
|
|
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
|
|
|
BASH PATCH REPORT
|
|
=================
|
|
|
|
Bash-Release: 5.1
|
|
Patch-ID: bash51-003
|
|
|
|
Bug-Reported-by: oguzismailuysal@gmail.com
|
|
Bug-Reference-ID: <CAH7i3LpG91BnNcDtaTUm2Ph7a+PnJkuh6nAc87cVL7_38tOaMQ@mail.gmail.com>
|
|
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00050.html
|
|
|
|
Bug-Description:
|
|
|
|
Bash does not put a command substitution process that is started to perform an
|
|
expansion in a child process into the right process group where it can receive
|
|
keyboard-generated signals.
|
|
|
|
Patch (apply with `patch -p0'):
|
|
|
|
*** ../bash-5.1-patched/subst.c 2020-11-16 10:33:15.000000000 -0500
|
|
--- b/subst.c 2020-12-12 13:50:11.000000000 -0500
|
|
***************
|
|
*** 6357,6362 ****
|
|
#if defined (JOB_CONTROL)
|
|
old_pipeline_pgrp = pipeline_pgrp;
|
|
! /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline. */
|
|
! if ((subshell_environment & SUBSHELL_PIPE) == 0)
|
|
pipeline_pgrp = shell_pgrp;
|
|
cleanup_the_pipeline ();
|
|
--- 6357,6364 ----
|
|
#if defined (JOB_CONTROL)
|
|
old_pipeline_pgrp = pipeline_pgrp;
|
|
! /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline or
|
|
! we've already forked to run a disk command (and are expanding redirections,
|
|
! for example). */
|
|
! if ((subshell_environment & (SUBSHELL_FORK|SUBSHELL_PIPE)) == 0)
|
|
pipeline_pgrp = shell_pgrp;
|
|
cleanup_the_pipeline ();
|
|
|
|
*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
|
|
--- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400
|
|
***************
|
|
*** 26,30 ****
|
|
looks for to find the patch level (for the sccs version string). */
|
|
|
|
! #define PATCHLEVEL 2
|
|
|
|
#endif /* _PATCHLEVEL_H_ */
|
|
--- 26,30 ----
|
|
looks for to find the patch level (for the sccs version string). */
|
|
|
|
! #define PATCHLEVEL 3
|
|
|
|
#endif /* _PATCHLEVEL_H_ */
|