Remove BR2_DEPRECATED
[buildroot-gz.git] / package / bash / 0039-patchlevel-39.patch
blob2a555b96c1a1c1f5a643b574bf954cc15ce45e88
1 From http://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-039
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5 BASH PATCH REPORT
6 =================
8 Bash-Release: 4.3
9 Patch-ID: bash43-039
11 Bug-Reported-by: SN <poczta-sn@gazeta.pl>
12 Bug-Reference-ID: <54E2554C.205@gazeta.pl>
13 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2015-02/msg00060.html
15 Bug-Description:
17 Using the output of `declare -p' when run in a function can result in variables
18 that are invisible to `declare -p'. This problem occurs when an assignment
19 builtin such as `declare' receives a quoted compound array assignment as one of
20 its arguments.
22 Patch (apply with `patch -p0'):
24 *** a/bash-4.3-patched/arrayfunc.c 2014-10-01 13:08:48.000000000 -0400
25 --- b/arrayfunc.c 2015-02-19 14:33:05.000000000 -0500
26 ***************
27 *** 405,408 ****
28 --- 405,411 ----
29 else
30 array_insert (a, i, l->word->word);
32 + VUNSETATTR (var, att_invisible); /* no longer invisible */
34 return var;
36 ***************
37 *** 635,638 ****
38 --- 638,645 ----
39 if (nlist)
40 dispose_words (nlist);
42 + if (var)
43 + VUNSETATTR (var, att_invisible); /* no longer invisible */
45 return (var);
47 *** a/bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
48 --- b/patchlevel.h 2014-03-20 20:01:28.000000000 -0400
49 ***************
50 *** 26,30 ****
51 looks for to find the patch level (for the sccs version string). */
53 ! #define PATCHLEVEL 38
55 #endif /* _PATCHLEVEL_H_ */
56 --- 26,30 ----
57 looks for to find the patch level (for the sccs version string). */
59 ! #define PATCHLEVEL 39
61 #endif /* _PATCHLEVEL_H_ */