diff options
Diffstat (limited to 'testing/csync2/rsync-strlcpy-disable.patch')
-rw-r--r-- | testing/csync2/rsync-strlcpy-disable.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/csync2/rsync-strlcpy-disable.patch b/testing/csync2/rsync-strlcpy-disable.patch new file mode 100644 index 0000000000..5d28e1da29 --- /dev/null +++ b/testing/csync2/rsync-strlcpy-disable.patch @@ -0,0 +1,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 + * "/" "" "/" |