fast fallback for the case where xxHash libraries are not available at
build time.
-based-on: 7e95ba87878dc053355ef3829aa20a24060cd4f6
+based-on: e16b22751a7996ddba299ea0750b533ce492d12f
diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o @LIBOBJS@
zlib_OBJS=zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o \
zlib/trees.o zlib/zutil.o zlib/adler32.o zlib/compress.o zlib/crc32.o
-@@ -136,6 +136,9 @@ simd-checksum-x86_64.o: simd-checksum-x86_64.cpp
- @echo "If this fails to compile and you can't fix it, re-run $(srcdir)/configure with --disable-simd."
- $(CXX) -I. $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/simd-checksum-x86_64.cpp
+@@ -135,6 +135,9 @@ rounding.h: rounding.c rsync.h proto.h
+ simd-checksum-x86_64.o: simd-checksum-x86_64.cpp
+ @$(srcdir)/cmdormsg disable-simd $(CXX) -I. $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/simd-checksum-x86_64.cpp
+simd-md5-parallel-x86_64.o: simd-md5-parallel-x86_64.cpp
-+ $(CXX) -I. $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/simd-md5-parallel-x86_64.cpp
++ @$(srcdir)/cmdormsg disable-simd $(CXX) -I. $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/simd-md5-parallel-x86_64.cpp
+
lib/md5-asm-x86_64.o: lib/md5-asm-x86_64.S config.h lib/md-defines.h
- $(CC) -I. @NOEXECSTACK@ -c -o $@ $(srcdir)/lib/md5-asm-x86_64.S
+ @$(srcdir)/cmdormsg disable-asm $(CC) -I. @NOEXECSTACK@ -c -o $@ $(srcdir)/lib/md5-asm-x86_64.S
diff --git a/checksum.c b/checksum.c
--- a/checksum.c
./configure (optional if already run)
make
-based-on: c225330aaf9d6032a79317bda1bf669e90ac7212
+based-on: e16b22751a7996ddba299ea0750b533ce492d12f
diff --git a/authenticate.c b/authenticate.c
--- a/authenticate.c
+++ b/authenticate.c
diff --git a/clientserver.c b/clientserver.c
--- a/clientserver.c
+++ b/clientserver.c
-@@ -67,6 +67,7 @@ char *auth_user;
- int read_only = 0;
- int module_id = -1;
+@@ -70,6 +70,7 @@ int module_id = -1;
int pid_file_fd = -1;
+ int early_input_len = 0;
+ char *early_input = NULL;
+pid_t namecvt_pid = 0;
struct chmod_mode_struct *daemon_chmod_modes;
- /* module_dirlen is the length of the module_dir string when in daemon
-@@ -78,6 +79,7 @@ unsigned int module_dirlen = 0;
+ #define EARLY_INPUT_CMD "#early_input="
+@@ -84,6 +85,7 @@ unsigned int module_dirlen = 0;
char *full_module_path;
static int rl_nulls = 0;
#ifdef HAVE_SIGACTION
static struct sigaction sigact;
-@@ -775,7 +777,7 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char
+@@ -811,7 +813,7 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char
log_init(1);
#ifdef HAVE_PUTENV
&& !getenv("RSYNC_NO_XFER_EXEC")) {
set_env_num("RSYNC_PID", (long)getpid());
-@@ -835,6 +837,45 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char
+@@ -873,6 +875,45 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char
return -1;
}
}
}
#endif
-@@ -1076,6 +1117,44 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char
+@@ -1119,6 +1160,44 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char
return 0;
}
./configure (optional if already run)
make
-based-on: c225330aaf9d6032a79317bda1bf669e90ac7212
+based-on: e16b22751a7996ddba299ea0750b533ce492d12f
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
char *password_file = NULL;
+char *source_filter = NULL;
+char *dest_filter = NULL;
+ char *early_input_file = NULL;
char *rsync_path = RSYNC_PATH;
char *backup_dir = NULL;
- char backup_dir_buf[MAXPATHLEN];
-@@ -838,6 +841,7 @@ static struct poptOption long_options[] = {
+@@ -873,6 +876,7 @@ static struct poptOption long_options[] = {
{"chmod", 0, POPT_ARG_STRING, 0, OPT_CHMOD, 0, 0 },
{"ignore-times", 'I', POPT_ARG_NONE, &ignore_times, 0, 0, 0 },
{"size-only", 0, POPT_ARG_NONE, &size_only, 0, 0, 0 },
{"one-file-system", 'x', POPT_ARG_NONE, 0, 'x', 0, 0 },
{"no-one-file-system",0, POPT_ARG_VAL, &one_file_system, 0, 0, 0 },
{"no-x", 0, POPT_ARG_VAL, &one_file_system, 0, 0, 0 },
-@@ -964,6 +968,8 @@ static struct poptOption long_options[] = {
- {"password-file", 0, POPT_ARG_STRING, &password_file, 0, 0, 0 },
+@@ -1000,6 +1004,8 @@ static struct poptOption long_options[] = {
+ {"early-input", 0, POPT_ARG_STRING, &early_input_file, 0, 0, 0 },
{"blocking-io", 0, POPT_ARG_VAL, &blocking_io, 1, 0, 0 },
{"no-blocking-io", 0, POPT_ARG_VAL, &blocking_io, 0, 0, 0 },
+ {"source-filter", 0, POPT_ARG_STRING, &source_filter, 0, 0, 0 },
{"outbuf", 0, POPT_ARG_STRING, &outbuf_mode, 0, 0, 0 },
{"remote-option", 'M', POPT_ARG_STRING, 0, 'M', 0, 0 },
{"protocol", 0, POPT_ARG_INT, &protocol_version, 0, 0, 0 },
-@@ -2340,6 +2346,16 @@ int parse_arguments(int *argc_p, const char ***argv_p)
+@@ -2381,6 +2387,16 @@ int parse_arguments(int *argc_p, const char ***argv_p)
}
}
if (files_from) {
char *h, *p;
int q;
-@@ -2724,6 +2740,25 @@ void server_options(char **args, int *argc_p)
+@@ -2765,6 +2781,25 @@ void server_options(char **args, int *argc_p)
else if (missing_args == 1 && !am_sender)
args[ac++] = "--ignore-missing-args";
--modify-window=NUM, -@ set the accuracy for mod-time comparisons
--temp-dir=DIR, -T create temporary files in directory DIR
--fuzzy, -y find similar file for basis if no dest file
-@@ -457,6 +458,8 @@ detailed description below for a complete description.
+@@ -458,6 +459,8 @@ detailed description below for a complete description.
--write-batch=FILE write a batched update to FILE
--only-write-batch=FILE like --write-batch but w/o updating dest
--read-batch=FILE read a batched update from FILE
--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)
-@@ -3057,6 +3060,36 @@ your home directory (remove the '=' for that).
+@@ -3073,6 +3076,36 @@ your home directory (remove the '=' for that).
`--write-batch`. If _FILE_ is `-`, the batch data will be read from
standard input. See the "BATCH MODE" section for details.