aboutsummaryrefslogtreecommitdiffstats
path: root/testing/csync2/rsync-strlcpy-disable.patch
blob: 5d28e1da2958d00756384bc79e88537f9b3c7c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- old/rsync.c
+++ new/rsync.c
@@ -48,7 +48,7 @@
  * @param bufsize is the size of the destination buffer.
  *
  * @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 +61,7 @@
         }
         return ret;
 }
-
+ **/
 /* splits filepath at the last '/', if any, like so:
  *	dirname		basename	filepath
  *	"/"		""		"/"