commit bash-20180713 snapshot

This commit is contained in:
Chet Ramey
2018-07-18 10:23:04 -04:00
parent a078e04c3d
commit 96efdbb5b4
16 changed files with 106 additions and 27 deletions
+1 -1
View File
@@ -1992,7 +1992,7 @@ unescape (char *c)
while (i < l && c[i]) {
if (c[i] == '\a') {
if (c[i+1])
strcpy(c + i, c + i + 1); /* should be memmove */
memmove (c + i, c + i + 1, l - i);
else {
c[i] = '\0';
break;