Patches to enable compilation on OpenBSD 5.7/FreeBSD 10.1.
This commit is contained in:
committed by
Jon Trulson
parent
87d863b8a4
commit
aaab59761f
@@ -585,7 +585,7 @@ ReadESIS(
|
||||
stripNL(buf);
|
||||
if (do_DATAhack && (buf[0] == '\\') && (buf[1] == 'n') ) {
|
||||
buf[0] = -1; /* simulate "^" command */
|
||||
memcpy(&buf[1], &buf[2], strlen(buf)-1);
|
||||
memmove(&buf[1], &buf[2], strlen(buf)-1);
|
||||
}
|
||||
cont[ncont].ch.data = strdup(buf);
|
||||
cont[ncont].type = CMD_DATA;
|
||||
|
||||
Reference in New Issue
Block a user