Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
for consistency use memcpy/memset everywhere instead of bcopy/bzero
[rsync/rsync.git]
/
lib
/
compat.c
diff --git
a/lib/compat.c
b/lib/compat.c
index
c0cf63b
..
cabdc87
100644
(file)
--- a/
lib/compat.c
+++ b/
lib/compat.c
@@
-54,7
+54,7
@@
pid_t waitpid(pid_t pid, int *statptr, int options)
#ifndef HAVE_MEMMOVE
void *memmove(void *dest, const void *src, size_t n)
{
-
bcopy(src, dest
, n);
+
memcpy(dest, src
, n);
return dest;
}
#endif