commit bash-20171215 snapshot

This commit is contained in:
Chet Ramey
2018-01-02 10:51:40 -05:00
parent aa54feee4e
commit 32dc2bf525
47 changed files with 12683 additions and 12572 deletions
+2 -2
View File
@@ -1107,7 +1107,7 @@ array_value_internal (s, quoted, flags, rtype, indp)
retval if rtype == 0, so this is not a memory leak */
if (t[0] == '*' && (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)))
{
temp = string_list_dollar_star (l);
temp = string_list_dollar_star (l, quoted, (flags & AV_ASSIGNRHS) ? PF_ASSIGNRHS : 0);
retval = quote_string (temp);
free (temp);
}
@@ -1228,7 +1228,7 @@ array_keys (s, quoted)
if (t[0] == '*' && (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)))
{
temp = string_list_dollar_star (l);
temp = string_list_dollar_star (l, quoted, 0);
retval = quote_string (temp);
free (temp);
}