commit bash-20050127 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:42:58 -05:00
parent 3de8929be1
commit 10590446d1
43 changed files with 11636 additions and 1112 deletions
+1 -1
View File
@@ -708,7 +708,7 @@ array_value_internal (s, quoted, allow_all, rtype)
err_badarraysub (s);
return ((char *)NULL);
}
else if (var == 0)
else if (var == 0 || value_cell (var) == 0)
return ((char *)NULL);
else if (array_p (var) == 0)
l = add_string_to_list (value_cell (var), (WORD_LIST *)NULL);