Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*** empty log message ***
[rsync/rsync.git]
/
match.c
diff --git
a/match.c
b/match.c
index
a2121a1
..
2c80727
100644
(file)
--- a/
match.c
+++ b/
match.c
@@
-85,7
+85,6
@@
static void build_hash_table(struct sum_struct *s)
}
-
static off_t last_match;
@@
-103,7
+102,7
@@
static void matched(int f,struct sum_struct *s,char *buf,off_t len,
int l = 0;
write_int(f,n);
while (l < n) {
- int n1 = MIN(
WRITE_BLOC
K_SIZE,n-l);
+ int n1 = MIN(
CHUN
K_SIZE,n-l);
write_buf(f,map_ptr(buf,last_match+l,n1),n1);
l += n1;
}