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'):
22 *** ../bash-4.3/arrayfunc.c 2013-08-02 16:19:59.000000000 -0400
23 --- arrayfunc.c 2014-03-18 11:08:15.000000000 -0400
28 val = expand_assignment_string_to_string (val, 0);
31 + val = (char *)xmalloc (1);
32 + val[0] = '\0'; /* like do_assignment_internal */
36 *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
37 --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400
40 looks for to find the patch level (for the sccs version string). */
42 ! #define PATCHLEVEL 6
44 #endif /* _PATCHLEVEL_H_ */
46 looks for to find the patch level (for the sccs version string). */
48 ! #define PATCHLEVEL 7
50 #endif /* _PATCHLEVEL_H_ */