Synch: Prefer memmove() over bcopy().
This commit is contained in:
parent
a4322ab2f6
commit
197640b1d7
@ -358,7 +358,7 @@ gotiac: switch (c) {
|
|||||||
char xbuf2[BUFSIZ];
|
char xbuf2[BUFSIZ];
|
||||||
register char *cp;
|
register char *cp;
|
||||||
int n = pfrontp - opfrontp, oc;
|
int n = pfrontp - opfrontp, oc;
|
||||||
bcopy(opfrontp, xptyobuf, n);
|
memmove(xptyobuf, opfrontp, n);
|
||||||
pfrontp = opfrontp;
|
pfrontp = opfrontp;
|
||||||
pfrontp += term_input(xptyobuf, pfrontp, n, BUFSIZ+NETSLOP,
|
pfrontp += term_input(xptyobuf, pfrontp, n, BUFSIZ+NETSLOP,
|
||||||
xbuf2, &oc, BUFSIZ);
|
xbuf2, &oc, BUFSIZ);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user