7 Bug-Reported-by: SN <poczta-sn@gazeta.pl>
8 Bug-Reference-ID: <54E2554C.205@gazeta.pl>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2015-02/msg00060.html
13 Using the output of `declare -p' when run in a function can result in variables
14 that are invisible to `declare -p'. This problem occurs when an assignment
15 builtin such as `declare' receives a quoted compound array assignment as one of
18 Patch (apply with `patch -p0'):
22 @@ -404,6 +404,9 @@ assign_array_var_from_word_list (var, li
23 (*var->assign_func) (var, l->word->word, i, 0);
25 array_insert (a, i, l->word->word);
27 + VUNSETATTR (var, att_invisible); /* no longer invisible */
32 @@ -634,6 +637,10 @@ assign_array_var_from_string (var, value
35 dispose_words (nlist);
38 + VUNSETATTR (var, att_invisible); /* no longer invisible */
46 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
47 looks for to find the patch level (for the sccs version string). */
49 -#define PATCHLEVEL 38
50 +#define PATCHLEVEL 39
52 #endif /* _PATCHLEVEL_H_ */