commit bash-20100318 snapshot

This commit is contained in:
Chet Ramey
2011-12-12 21:56:08 -05:00
parent 640b1cb0f7
commit 1b13a2904a
20 changed files with 2397 additions and 78 deletions
+3
View File
@@ -751,6 +751,9 @@ bash_add_history (line)
chars_to_add = "";
}
if (dstack.delimiter_depth == 0 && current->line[curlen - 1] == '\n' && *chars_to_add == ';')
chars_to_add++;
new_line = (char *)xmalloc (1
+ curlen
+ strlen (line)