From ff0c27c926564521ed58de838af76a4377838ae4 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 1 Aug 2007 22:47:36 +0000 Subject: [PATCH 1/1] Files with the same size should also be skipped by --append. --- generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1