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:
parent
2b081e30cf
commit
6f76661f7f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72140
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user