Bash-4.3 patch 7

This commit is contained in:
Chet Ramey
2014-03-28 11:54:19 -04:00
parent 22205f43ab
commit 01657c6474
2 changed files with 6 additions and 1 deletions

View 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;
}

View 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_ */