Merge "Base bcopy on memmove rather than memcpy."
am: f0a451dcd1 * commit 'f0a451dcd10241c8f2ead2448ed922eb80f387f6': Base bcopy on memmove rather than memcpy.
This commit is contained in:
commit
cf0c1af1dd
@ -247,7 +247,7 @@ sighandler_t bsd_signal(int signum, sighandler_t handler) {
|
||||
// This was removed from POSIX 2008.
|
||||
#undef bcopy
|
||||
void bcopy(const void* src, void* dst, size_t n) {
|
||||
memcpy(dst, src, n);
|
||||
memmove(dst, src, n);
|
||||
}
|
||||
#else
|
||||
// x86 has an assembler implementation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user