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