*** empty log message ***
authorAndrew Tridgell <tridge@samba.org>
Fri, 28 Jun 1996 15:24:39 +0000 (15:24 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 28 Jun 1996 15:24:39 +0000 (15:24 +0000)
.cvsignore
io.c
match.c
version.h

index 5391725..51a6d58 100644 (file)
@@ -60,3 +60,5 @@ tech_report.dvi
 tech_report.log
 tech_report.ps
 test
+rsync-1.4.3
+rsync-1.4.4
diff --git a/io.c b/io.c
index c903fa6..9b6bdc8 100644 (file)
--- a/io.c
+++ b/io.c
@@ -167,6 +167,7 @@ int sparse_end(int f)
     return (write(f,&last_byte,1) == 1 ? 0 : -1);
   }
 #endif  
+  last_sparse = 0;
   return 0;
 }
 
diff --git a/match.c b/match.c
index f8a3607..2c80727 100644 (file)
--- a/match.c
+++ b/match.c
@@ -85,20 +85,6 @@ static void build_hash_table(struct sum_struct *s)
 }
 
 
-static void send_match(int f,int i)
-{
-  static int matches[32];
-  static int match_count=0;
-
-  matches[match_count++] = i;
-  if (match_count == 32 || i==0) {
-    int i;
-    for (i=0;i<match_count;i++)
-      write_int(f,matches[i]);
-    match_count=0;
-  }
-}
-
 static off_t last_match;
 
 
@@ -122,7 +108,7 @@ static void matched(int f,struct sum_struct *s,char *buf,off_t len,
     }
     data_transfer += n;
   }
-  send_match(f,-(i+1));
+  write_int(f,-(i+1));
   if (i != -1)
     last_match = offset + s->sums[i].len;
   if (n > 0)
index 3fc0325..1d85e09 100644 (file)
--- a/version.h
+++ b/version.h
@@ -1 +1 @@
-#define VERSION "1.4.3"
+#define VERSION "1.4.4"