Bash-4.1 patchlevel 11

This commit is contained in:
Chet Ramey 2011-11-21 20:57:16 -05:00
commit 30d188c293
12 changed files with 49 additions and 15 deletions

View file

@ -512,7 +512,7 @@ declare_internal (list, local_var)
{
/* let bind_{array,assoc}_variable take care of this. */
if (assoc_p (var))
bind_assoc_variable (var, name, "0", value, aflags);
bind_assoc_variable (var, name, savestring ("0"), value, aflags);
else
bind_array_variable (name, 0, value, aflags);
}