Synch: prefer memmove() over bcopy(), since the first is a C-standard

interface, whilst the latter is a BSD'ism.
This commit is contained in:
Jeroen Ruigrok van der Werven 2001-02-07 22:18:58 +00:00
parent 2b081e30cf
commit 6f76661f7f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72140

View File

@ -467,7 +467,7 @@ do_opt_slc(ptr, len)
def_slcbuf = (unsigned char *)malloc((unsigned)len);
if (def_slcbuf == (unsigned char *)0)
return; /* too bad */
bcopy(ptr, def_slcbuf, len);
memmove(def_slcbuf, ptr, len);
}
}