commit bash-20080327 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:21:08 -05:00
parent d356441fc6
commit 6fbe76202c
38 changed files with 2713 additions and 126 deletions
+1 -1
View File
@@ -693,7 +693,7 @@ int quoted;
is = inttostr (element_index(ae), indstr, sizeof(indstr));
valstr = element_value (ae) ? sh_double_quote (element_value(ae))
: (char *)NULL;
elen = STRLEN (indstr) + 8 + STRLEN (valstr);
elen = STRLEN (is) + 8 + STRLEN (valstr);
RESIZE_MALLOCED_BUFFER (result, rlen, (elen + 1), rsize, rsize);
result[rlen++] = '[';