X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/4c15e80040f6ac2fc79d599d1722cf209cc30536..a5e6228afbf1809d33d9a31e0895c5e955c39ce1:/source-filter_dest-filter.diff diff --git a/source-filter_dest-filter.diff b/source-filter_dest-filter.diff index 5a5bf15..b1605f3 100644 --- a/source-filter_dest-filter.diff +++ b/source-filter_dest-filter.diff @@ -41,7 +41,7 @@ diff --git a/generator.c b/generator.c extern int size_only; extern OFF_T max_size; extern OFF_T min_size; -@@ -630,7 +631,7 @@ void itemize(const char *fnamecmp, struct file_struct *file, int ndx, int statre +@@ -667,7 +668,7 @@ void itemize(const char *fnamecmp, struct file_struct *file, int ndx, int statre /* Perform our quick-check heuristic for determining if a file is unchanged. */ int unchanged_file(char *fn, struct file_struct *file, STRUCT_STAT *st) { @@ -53,7 +53,7 @@ diff --git a/generator.c b/generator.c diff --git a/main.c b/main.c --- a/main.c +++ b/main.c -@@ -137,7 +137,7 @@ pid_t wait_process(pid_t pid, int *status_ptr, int flags) +@@ -139,7 +139,7 @@ pid_t wait_process(pid_t pid, int *status_ptr, int flags) } /* Wait for a process to exit, calling io_flush while waiting. */ @@ -116,7 +116,7 @@ diff --git a/options.c b/options.c {"protocol", 0, POPT_ARG_INT, &protocol_version, 0, 0, 0 }, {"checksum-seed", 0, POPT_ARG_INT, &checksum_seed, 0, 0, 0 }, {"server", 0, POPT_ARG_NONE, 0, OPT_SERVER, 0, 0 }, -@@ -1585,6 +1594,16 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain) +@@ -1586,6 +1595,16 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain) } } @@ -133,7 +133,7 @@ diff --git a/options.c b/options.c if (files_from) { char *h, *p; int q; -@@ -1904,6 +1923,25 @@ void server_options(char **args, int *argc_p) +@@ -1905,6 +1924,25 @@ void server_options(char **args, int *argc_p) } } @@ -251,7 +251,7 @@ diff --git a/receiver.c b/receiver.c extern char *partial_dir; extern char *basis_dir[]; extern struct file_list *cur_flist, *first_flist, *dir_flist; -@@ -394,6 +395,8 @@ int recv_files(int f_in, char *local_name) +@@ -395,6 +396,8 @@ int recv_files(int f_in, char *local_name) const char *parent_dirname = ""; #endif int ndx, recv_ok; @@ -260,7 +260,7 @@ diff --git a/receiver.c b/receiver.c if (verbose > 2) rprintf(FINFO, "recv_files(%d) starting\n", cur_flist->used); -@@ -401,6 +404,23 @@ int recv_files(int f_in, char *local_name) +@@ -402,6 +405,23 @@ int recv_files(int f_in, char *local_name) if (delay_updates) delayed_bits = bitbag_create(cur_flist->used + 1); @@ -284,7 +284,7 @@ diff --git a/receiver.c b/receiver.c while (1) { cleanup_disable(); -@@ -673,6 +693,9 @@ int recv_files(int f_in, char *local_name) +@@ -674,6 +694,9 @@ int recv_files(int f_in, char *local_name) else if (!am_server && verbose && do_progress) rprintf(FINFO, "%s\n", fname); @@ -294,7 +294,7 @@ diff --git a/receiver.c b/receiver.c /* recv file data */ recv_ok = receive_data(f_in, fnamecmp, fd1, st.st_size, fname, fd2, F_LENGTH(file)); -@@ -687,6 +710,16 @@ int recv_files(int f_in, char *local_name) +@@ -688,6 +711,16 @@ int recv_files(int f_in, char *local_name) exit_cleanup(RERR_FILEIO); } @@ -342,7 +342,7 @@ diff --git a/rsync.yo b/rsync.yo --protocol=NUM force an older protocol version to be used --iconv=CONVERT_SPEC request charset conversion of filenames --checksum-seed=NUM set block/file checksum seed (advanced) -@@ -2003,6 +2006,33 @@ file previously generated by bf(--write-batch). +@@ -2021,6 +2024,33 @@ file previously generated by bf(--write-batch). If em(FILE) is bf(-), the batch data will be read from standard input. See the "BATCH MODE" section for details.