search for: deletion_test_count

Displaying 1 result from an estimated 1 matches for "deletion_test_count".

2005 Mar 02
0
[Bug 2408] New: when more than --max-delete files are about to be deleted no error is returned
...(barely tested) patch for 2.6.3 here: --- rsync-2.6.3.orig/receiver.c 2004-09-21 11:24:06.000000000 +0200 +++ rsync-2.6.3/receiver.c 2005-03-02 15:41:26.000000000 +0100 @@ -93,6 +93,7 @@ int i, j; char *argv[1], fbuf[MAXPATHLEN]; static int deletion_count; + int deletion_test_count; if (cvs_exclude) add_cvs_excludes(); @@ -102,6 +103,38 @@ return; } + /* if --max-delete is specified, check that not too many files will be deleted */ + if (max_delete) { + + /* count number of files that would be deleted...