perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / shell / bash / patches / bash52-028.patch
blob806bdc5ee19513a5c5719b76b60230db67babef5
1 BASH PATCH REPORT
2 =================
4 Bash-Release: 5.2
5 Patch-ID: bash52-028
7 Bug-Reported-by: Mark March <march@systempad.cloud>
8 Bug-Reference-ID: <834896722.6304071.1718744118467@mail.yahoo.com>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2024-06/msg00122.html
11 Bug-Description:
13 A DEBUG trap in an asynchronous process can steal the controlling terminal
14 away from the calling shell, causing it to exit.
16 Patch (apply with `patch -p0'):
18 *** ../bash-20240609/trap.c Fri May 3 12:12:38 2024
19 --- trap.c Wed Jun 26 10:41:40 2024
20 ***************
21 *** 1217,1221 ****
22 restore_pgrp_pipe (save_pipe);
23 # endif
24 ! if (pipeline_pgrp > 0 && ((subshell_environment & (SUBSHELL_ASYNC|SUBSHELL_PIPE)) == 0))
25 give_terminal_to (pipeline_pgrp, 1);
27 --- 1217,1223 ----
28 restore_pgrp_pipe (save_pipe);
29 # endif
30 ! /* If the trap command gave the terminal to another process group,
31 ! restore it. XXX - check running_in_background? */
32 ! if (job_control && pipeline_pgrp > 0 && ((subshell_environment & (SUBSHELL_ASYNC|SUBSHELL_PIPE)) == 0))
33 give_terminal_to (pipeline_pgrp, 1);
35 *** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
36 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
37 ***************
38 *** 26,30 ****
39 looks for to find the patch level (for the sccs version string). */
41 ! #define PATCHLEVEL 27
43 #endif /* _PATCHLEVEL_H_ */
44 --- 26,30 ----
45 looks for to find the patch level (for the sccs version string). */
47 ! #define PATCHLEVEL 28
49 #endif /* _PATCHLEVEL_H_ */