commit bash-20190109 snapshot

This commit is contained in:
Chet Ramey
2019-01-10 11:56:16 -05:00
parent 5cc55f2f73
commit 605528a7c0
12 changed files with 123 additions and 24 deletions
+1 -1
View File
@@ -963,7 +963,7 @@ array_expand_index (var, s, len, flags)
t = expand_arith_string (exp, Q_DOUBLE_QUOTES|Q_ARITH|Q_ARRAYSUB); /* XXX - Q_ARRAYSUB for future use */
savecmd = this_command_name;
this_command_name = (char *)NULL;
val = evalexp (t, 0, &expok);
val = evalexp (t, EXP_EXPANDED, &expok); /* XXX - was 0 but we expanded exp already */
this_command_name = savecmd;
if (t != exp)
free (t);