aports/testing/csync2/03-strlcpy_disable.patch
2012-12-18 12:03:20 +00:00

22 lines
343 B
Diff

--- old/rsync.c
+++ new/rsync.c
@@ -49,6 +49,9 @@
*
* @return index of the terminating byte.
**/
+
+/* disabled **
+
static size_t strlcpy(char *d, const char *s, size_t bufsize)
{
size_t len = strlen(s);
@@ -61,7 +64,7 @@
}
return ret;
}
-
+*/
/* This has been taken from rsync sources: receiver.c */