perl/Test-Simple: update to 1.302205
[oi-userland.git] / components / shell / bash / patches / bash52-032.patch
blob618a37fcaebe3a0c98be9152ff4509db2534107a
1 BASH PATCH REPORT
2 =================
4 Bash-Release: 5.2
5 Patch-ID: bash52-032
7 Bug-Reported-by: Albert Akchurin <ackbeat@gmail.com>
8 Bug-Reference-ID: Mon, 11 Dec 2023 20:41:58 +0600
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2023-12/msg00047.html
11 Bug-Description:
13 Patch (apply with `patch -p0'):
15 When printing functions containing coprocesses, the displayed coproc command
16 has the word COPROC inserted unconditionally, resulting in function bodies
17 that cannot be re-read as input.
19 *** ../bash-5.2-patched/print_cmd.c Mon Aug 21 16:09:44 2023
20 --- print_cmd.c Mon Dec 11 15:34:30 2023
21 ***************
22 *** 357,361 ****
24 case cm_coproc:
25 ! cprintf ("coproc %s ", command->value.Coproc->name);
26 skip_this_indent++;
27 make_command_string_internal (command->value.Coproc->command);
28 --- 357,363 ----
30 case cm_coproc:
31 ! cprintf ("coproc ");
32 ! if (command->value.Coproc->command->type != cm_simple)
33 ! cprintf ("%s ", command->value.Coproc->name);
34 skip_this_indent++;
35 make_command_string_internal (command->value.Coproc->command);
37 *** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
38 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
39 ***************
40 *** 26,30 ****
41 looks for to find the patch level (for the sccs version string). */
43 ! #define PATCHLEVEL 31
45 #endif /* _PATCHLEVEL_H_ */
46 --- 26,30 ----
47 looks for to find the patch level (for the sccs version string). */
49 ! #define PATCHLEVEL 32
51 #endif /* _PATCHLEVEL_H_ */