diff options
author | grant <grant@pkgsrc.org> | 2004-01-20 05:16:42 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-20 05:16:42 +0000 |
commit | f9ad7ed7b6535f5bfca02b87cfd33ebfc00ce386 (patch) | |
tree | 96872df634e1ea2be7e15e69aad50c4a1b84abe8 /net/rsync/patches/patch-aa | |
parent | 3677a7db7d9ad80f33160988fe4f710e38d6a2c9 (diff) | |
download | pkgsrc-f9ad7ed7b6535f5bfca02b87cfd33ebfc00ce386.tar.gz |
Updated rsync to 2.6.0.
Major changes since 2.5.7:
* "ssh" is now the default remote shell for rsync. If you want to
change this, configure like this: "./configure --with-rsh=rsh".
* Added --files-from, --no-relative, --no-implied-dirs, and --from0.
Note that --from0 affects the line-ending character for all the
files read by the --*-from options. (Wayne Davison)
* Length of csum2 is now per-file starting with protocol version
27. (J.W. Schultz)
* Per-file dynamic block size is now sqrt(file length). The
per-file checksum size is determined according to an algorithm
provided by Donovan Baarda which reduces the probability of rsync
algorithm corrupting data and falling back using the whole md4
checksums. (J.W. Schultz, Donovan Baarda)
* The --stats option no longer includes the (debug) malloc summary
unless the verbose option was specified at least twice.
* Added a new error/warning code for when files vanish from the
sending side. Made vanished source files not interfere with the
file-deletion pass when --delete-after was specified.
* Various trailing-info sections are now preceded by a newline.
* Many bug-fixes.
Update provided by Min Sik Kim in PR pkg/24146.
Diffstat (limited to 'net/rsync/patches/patch-aa')
-rw-r--r-- | net/rsync/patches/patch-aa | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/net/rsync/patches/patch-aa b/net/rsync/patches/patch-aa index 27ef6f5e7d3..d5cec4cc1f6 100644 --- a/net/rsync/patches/patch-aa +++ b/net/rsync/patches/patch-aa @@ -1,13 +1,13 @@ -$NetBSD: patch-aa,v 1.8 2002/03/12 16:02:57 tron Exp $ +$NetBSD: patch-aa,v 1.9 2004/01/20 05:16:42 grant Exp $ ---- match.c.orig Sun Feb 3 02:38:39 2002 -+++ match.c Tue Mar 12 16:55:19 2002 -@@ -247,7 +247,7 @@ +--- match.c.orig 2003-12-06 15:07:27.000000000 -0600 ++++ match.c +@@ -256,7 +256,7 @@ static void hash_search(int f,struct sum running match, the checksum update and the literal send. */ - if (offset > last_match && -- offset-last_match >= CHUNK_SIZE+s->n && -+ offset >= last_match+CHUNK_SIZE+s->n && - (end-offset > CHUNK_SIZE)) { - matched(f,s,buf,offset - s->n, -2); + if (offset > last_match +- && offset-last_match >= CHUNK_SIZE+s->blength ++ && offset >= last_match+CHUNK_SIZE+s->blength + && end-offset > CHUNK_SIZE) { + matched(f,s,buf,offset - s->blength, -2); } |