Merge "Base bcopy on memmove rather than memcpy."

am: f0a451dcd1

* commit 'f0a451dcd10241c8f2ead2448ed922eb80f387f6':
  Base bcopy on memmove rather than memcpy.
This commit is contained in:
Elliott Hughes 2015-12-07 23:20:58 +00:00 committed by android-build-merger
commit cf0c1af1dd

View File

@ -247,7 +247,7 @@ sighandler_t bsd_signal(int signum, sighandler_t handler) {
// This was removed from POSIX 2008. // This was removed from POSIX 2008.
#undef bcopy #undef bcopy
void bcopy(const void* src, void* dst, size_t n) { void bcopy(const void* src, void* dst, size_t n) {
memcpy(dst, src, n); memmove(dst, src, n);
} }
#else #else
// x86 has an assembler implementation. // x86 has an assembler implementation.