Change the implementation of memmove in lib/compat.c to call bcopy instead
[rsync/rsync.git] / lib / compat.c
index 9b411cd..1bf46b9 100644 (file)
@@ -72,7 +72,7 @@
 #ifndef HAVE_MEMMOVE
  void *memmove(void *dest, const void *src, size_t n)
 {
-       memcpy(dest, src, n);
+       bcopy((char *) src, (char *) dest, n);
        return dest;
 }
 #endif