]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.3 patch 7
authorChet Ramey <chet.ramey@case.edu>
Fri, 28 Mar 2014 15:54:19 +0000 (11:54 -0400)
committerChet Ramey <chet.ramey@case.edu>
Fri, 28 Mar 2014 15:54:19 +0000 (11:54 -0400)
arrayfunc.c
patchlevel.h

index b82767e8325f5f1726de0d724bcc3780e287d065..a89e67f11f19436a5d7e8670ebea72f2488456cd 100644 (file)
@@ -597,6 +597,11 @@ assign_compound_array_list (var, nlist, flags)
       if (assoc_p (var))
        {
          val = expand_assignment_string_to_string (val, 0);
+         if (val == 0)
+           {
+             val = (char *)xmalloc (1);
+             val[0] = '\0';    /* like do_assignment_internal */
+           }
          free_val = 1;
        }
 
index 7e887f6c1ceb60d55119a07f652cbcf9c8bad4fb..fc8c97ff79a117f0d2409ccbb8b33e5647689ddb 100644 (file)
@@ -25,6 +25,6 @@
    regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
    looks for to find the patch level (for the sccs version string). */
 
-#define PATCHLEVEL 6
+#define PATCHLEVEL 7
 
 #endif /* _PATCHLEVEL_H_ */