Synch: Prefer memmove() over bcopy().

This commit is contained in:
Jeroen Ruigrok van der Werven 2001-02-07 22:22:57 +00:00
parent a4322ab2f6
commit 197640b1d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72142

View File

@ -358,7 +358,7 @@ gotiac: switch (c) {
char xbuf2[BUFSIZ];
register char *cp;
int n = pfrontp - opfrontp, oc;
bcopy(opfrontp, xptyobuf, n);
memmove(xptyobuf, opfrontp, n);
pfrontp = opfrontp;
pfrontp += term_input(xptyobuf, pfrontp, n, BUFSIZ+NETSLOP,
xbuf2, &oc, BUFSIZ);