libs/libpng: Update to 1.6.32
[feed/packages.git] / utils / bash / patches / 137-upstream-bash43-037.patch
1 BASH PATCH REPORT
2 =================
3
4 Bash-Release: 4.3
5 Patch-ID: bash43-037
6
7 Bug-Reported-by: Greg Wooledge <wooledg@eeg.ccf.org>
8 Bug-Reference-ID: <20150204144240.GN13956@eeg.ccf.org>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2015-02/msg00007.html
10
11 Bug-Description:
12
13 If an associative array uses `@' or `*' as a subscript, `declare -p' produces
14 output that cannot be reused as input.
15
16 Patch (apply with `patch -p0'):
17
18 --- a/assoc.c
19 +++ b/assoc.c
20 @@ -436,6 +436,8 @@ assoc_to_assign (hash, quoted)
21 #if 1
22 if (sh_contains_shell_metas (tlist->key))
23 istr = sh_double_quote (tlist->key);
24 + else if (ALL_ELEMENT_SUB (tlist->key[0]) && tlist->key[1] == '\0')
25 + istr = sh_double_quote (tlist->key);
26 else
27 istr = tlist->key;
28 #else
29 --- a/patchlevel.h
30 +++ b/patchlevel.h
31 @@ -25,6 +25,6 @@
32 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
33 looks for to find the patch level (for the sccs version string). */
34
35 -#define PATCHLEVEL 36
36 +#define PATCHLEVEL 37
37
38 #endif /* _PATCHLEVEL_H_ */