mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 18:22:25 +02:00
commit bash-20180713 snapshot
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user