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
13 If an associative array uses `@' or `*' as a subscript, `declare -p' produces
14 output that cannot be reused as input.
16 Patch (apply with `patch -p0'):
20 @@ -436,6 +436,8 @@ assoc_to_assign (hash, quoted)
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);
32 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
33 looks for to find the patch level (for the sccs version string). */
35 -#define PATCHLEVEL 36
36 +#define PATCHLEVEL 37
38 #endif /* _PATCHLEVEL_H_ */