source: npl/system/bash/bash-4.3-patches/bash43-037 @ f9ce31e

perl-5.22
Last change on this file since f9ce31e was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.3 KB
Line 
1                             BASH PATCH REPORT
2                             =================
3
4Bash-Release:   4.3
5Patch-ID:       bash43-037
6
7Bug-Reported-by:        Greg Wooledge <wooledg@eeg.ccf.org>
8Bug-Reference-ID:       <20150204144240.GN13956@eeg.ccf.org>
9Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2015-02/msg00007.html
10
11Bug-Description:
12
13If an associative array uses `@' or `*' as a subscript, `declare -p' produces
14output that cannot be reused as input.
15
16Patch (apply with `patch -p0'):
17
18*** ../bash-4.3-patched/assoc.c 2011-11-05 16:39:05.000000000 -0400
19--- assoc.c     2015-02-04 15:28:25.000000000 -0500
20***************
21*** 437,440 ****
22--- 440,445 ----
23        if (sh_contains_shell_metas (tlist->key))
24          istr = sh_double_quote (tlist->key);
25+       else if (ALL_ELEMENT_SUB (tlist->key[0]) && tlist->key[1] == '\0')
26+         istr = sh_double_quote (tlist->key); 
27        else
28          istr = tlist->key;   
29*** ../bash-4.3/patchlevel.h    2012-12-29 10:47:57.000000000 -0500
30--- patchlevel.h        2014-03-20 20:01:28.000000000 -0400
31***************
32*** 26,30 ****
33     looks for to find the patch level (for the sccs version string). */
34 
35! #define PATCHLEVEL 36
36 
37  #endif /* _PATCHLEVEL_H_ */
38--- 26,30 ----
39     looks for to find the patch level (for the sccs version string). */
40 
41! #define PATCHLEVEL 37
42 
43  #endif /* _PATCHLEVEL_H_ */
Note: See TracBrowser for help on using the repository browser.