board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / bash / bash44-005.patch
blob0278e31dfbdd856fd5e6d53e538284d15000008b
1 From https://ftp.gnu.org/gnu/bash/bash-4.4-patches/bash44-005
3 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 BASH PATCH REPORT
6 =================
8 Bash-Release: 4.4
9 Patch-ID: bash44-005
11 Bug-Reported-by: Dr. Werner Fink <werner@suse.de>
12 Bug-Reference-ID: <20161107100936.ajnojd7dspirdflf@noether.suse.de>
13 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00054.html
15 Bug-Description:
17 Under certain circumstances, a simple command is optimized to eliminate a
18 fork, resulting in an EXIT trap not being executed.
20 Patch (apply with `patch -p0'):
22 *** a/bash-4.4/builtins/evalstring.c 2016-08-11 14:18:51.000000000 -0400
23 --- b/builtins/evalstring.c 2016-11-08 15:05:07.000000000 -0500
24 ***************
25 *** 105,114 ****
26 *bash_input.location.string == '\0' &&
27 command->type == cm_simple &&
28 - #if 0
29 signal_is_trapped (EXIT_TRAP) == 0 &&
30 signal_is_trapped (ERROR_TRAP) == 0 &&
31 - #else
32 any_signals_trapped () < 0 &&
33 - #endif
34 command->redirects == 0 && command->value.Simple->redirects == 0 &&
35 ((command->flags & CMD_TIME_PIPELINE) == 0) &&
36 --- 105,111 ----
37 *** a/bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
38 --- b/patchlevel.h 2016-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 4
45 #endif /* _PATCHLEVEL_H_ */
46 --- 26,30 ----
47 looks for to find the patch level (for the sccs version string). */
49 ! #define PATCHLEVEL 5
51 #endif /* _PATCHLEVEL_H_ */