7 Bug-Reported-by: geir.hauge@gmail.com
8 Bug-Reference-ID: <20140318093650.B181C1C5B0B@gina.itea.ntnu.no>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00095.html
13 Using compound assignments for associative arrays like
15 assoc=( [x]= [y]=bar )
17 left the value corresponding to the key `x' NULL. This caused subsequent
18 lookups to interpret it as unset.
20 Patch (apply with `patch -p0'):
24 @@ -597,6 +597,11 @@ assign_compound_array_list (var, nlist,
27 val = expand_assignment_string_to_string (val, 0);
30 + val = (char *)xmalloc (1);
31 + val[0] = '\0'; /* like do_assignment_internal */
39 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
40 looks for to find the patch level (for the sccs version string). */
45 #endif /* _PATCHLEVEL_H_ */