aboutsummaryrefslogtreecommitdiffstats
path: root/testing/csync2/03-strlcpy_disable.patch
blob: f0e9d45451c833f0f1793aabb0a1ead158158298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- 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 */