search for: no_whole_fil

Displaying 2 results from an estimated 2 matches for "no_whole_fil".

Did you mean: no_whole_file
2002 Jun 02
1
batch diffs
...s purpose and not clutter up rsync code? -------------- next part -------------- diff -ru rsync-2.5.5.orig/generator.c rsync-2.5.5/generator.c --- rsync-2.5.5.orig/generator.c Mon Mar 25 07:54:31 2002 +++ rsync-2.5.5/generator.c Sun Jun 2 20:25:54 2002 @@ -141,6 +141,7 @@ extern int whole_file, no_whole_file; extern int local_server; extern int write_batch; + extern int read_batch; assert(whole_file == 0 || whole_file == 1); @@ -150,7 +151,7 @@ return True; else if (no_whole_file) return False; - else if (write_batch) + else if (write_batch || read_batch) return False; else r...
2003 Nov 17
0
[PATCH] --source-filter && --dest-filter for rsync 2.5.6
...popt */ + whole_file = 1; + break; + case OPT_SUFFIX: /* The value has already been set by popt, but * we need to remember that a suffix was specified @@ -631,6 +651,13 @@ return 0; } + if ((source_filter || dest_filter) && no_whole_file) { + snprintf(err_buf,sizeof(err_buf), + "no-whole-file can not be used with source-filter or dest-filter\n"); + rprintf(FERROR,"ERROR: no-whole-file can not be used with source-filter or dest-filter\n"); + return 0; + } + *argv = poptGetArgs(pc);...