Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0473e2a
)
added replacement memmove
author
Andrew Tridgell
<tridge@samba.org>
Wed, 13 May 1998 13:27:36 +0000
(13:27 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 13 May 1998 13:27:36 +0000
(13:27 +0000)
lib/compat.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/compat.c
b/lib/compat.c
index
e6e0e64
..
3e66cc9
100644
(file)
--- a/
lib/compat.c
+++ b/
lib/compat.c
@@
-50,3
+50,11
@@
pid_t waitpid(pid_t pid, int *statptr, int options)
}
#endif
}
#endif
+
+#ifndef HAVE_MEMMOVE
+void *memmove(void *dest, const void *src, size_t n)
+{
+ bcopy(src, dest, n);
+ return dest;
+}
+#endif