diff options
| author | Valery Kartel <valery.kartel@gmail.com> | 2015-09-24 16:17:31 +0300 |
|---|---|---|
| committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-09-29 16:13:11 +0200 |
| commit | fa6505dc69a2a6945324744d8134de0b186be808 (patch) | |
| tree | 51ed8fedb90f372a5b783b2a2a7d2af6f7f890b2 /testing/csync2/rsync-strlcpy-disable.patch | |
| parent | 48cf8ee4d00068967848c3c9deb33b6c996c1697 (diff) | |
| download | aports-fa6505dc69a2a6945324744d8134de0b186be808.tar.bz2 aports-fa6505dc69a2a6945324744d8134de0b186be808.tar.xz | |
testing/csync2: upgrade to 2.0
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 + * "/" "" "/" |
