commit bash-20150724 snapshot

This commit is contained in:
Chet Ramey
2015-07-29 16:17:30 -04:00
parent 58a975cb0c
commit 7afeb718cb
21 changed files with 236 additions and 25 deletions
+4
View File
@@ -5629,6 +5629,10 @@ not_escape:
else
{
RESIZE_MALLOCED_BUFFER (result, result_index, 3, result_size, PROMPT_GROWTH);
/* dequote_string should take care of removing this if we are not
performing the rest of the word expansions. */
if (c == CTLESC || c == CTLNUL)
result[result_index++] = CTLESC;
result[result_index++] = c;
result[result_index] = '\0';
}