From: Wayne Davison Date: Wed, 1 Aug 2007 22:47:36 +0000 (+0000) Subject: Files with the same size should also be skipped by --append. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ff0c27c926564521ed58de838af76a4377838ae4 Files with the same size should also be skipped by --append. --- diff --git a/generator.c b/generator.c index 8ee5a09c..5f042936 100644 --- a/generator.c +++ b/generator.c @@ -1578,7 +1578,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, goto cleanup; } - if (append_mode > 0 && sx.st.st_size > F_LENGTH(file)) + if (append_mode > 0 && sx.st.st_size >= F_LENGTH(file)) goto cleanup; if (fnamecmp_type <= FNAMECMP_BASIS_DIR_HIGH)