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
This should fix the bug where file transfer with compression failed with
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
79e0b74
..
b687fdf
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-500,7
+500,7
@@
static void delete_files(struct file_list *flist)
if (cvs_exclude)
add_cvs_excludes();
if (cvs_exclude)
add_cvs_excludes();
- if (!(local_file_list = send_file_list(-1,
recurse,
1,&dot)))
+ if (!(local_file_list = send_file_list(-1,1,&dot)))
return;
for (i=local_file_list->count;i>=0;i--) {
return;
for (i=local_file_list->count;i>=0;i--) {
@@
-651,6
+651,8
@@
int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen)
if (!recv_ok) {
if (verbose > 1)
fprintf(FERROR,"redoing %s(%d)\n",fname,i);
if (!recv_ok) {
if (verbose > 1)
fprintf(FERROR,"redoing %s(%d)\n",fname,i);
+ if (csum_length == SUM_LENGTH)
+ fprintf(FERROR,"ERROR: file corruption in %s\n",fname);
write_int(f_gen,i);
}
}
write_int(f_gen,i);
}
}