X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/72e5645e95d7fd7edd0c4ab59f9812b9d6124521..4c85a55c419c231b83e024ab2aedfe3abe12f3da:/nameconverter.diff diff --git a/nameconverter.diff b/nameconverter.diff index 73b2cf0..368e03e 100644 --- a/nameconverter.diff +++ b/nameconverter.diff @@ -20,11 +20,11 @@ To use this patch, run these commands for a successful build: ./configure (optional if already run) make -based-on: 3b8f8192227b14e708bf535072485e50f4362270 +based-on: a01e3b490eb36ccf9e704840e1b6683dab867550 diff --git a/clientserver.c b/clientserver.c --- a/clientserver.c +++ b/clientserver.c -@@ -67,6 +67,7 @@ extern iconv_t ic_send, ic_recv; +@@ -66,6 +66,7 @@ extern iconv_t ic_send, ic_recv; char *auth_user; int read_only = 0; int module_id = -1; @@ -32,7 +32,7 @@ diff --git a/clientserver.c b/clientserver.c 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; +@@ -77,6 +78,7 @@ unsigned int module_dirlen = 0; char *full_module_path; static int rl_nulls = 0; @@ -40,7 +40,7 @@ diff --git a/clientserver.c b/clientserver.c #ifdef HAVE_SIGACTION static struct sigaction sigact; -@@ -669,7 +671,7 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char +@@ -668,7 +670,7 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char log_init(1); #ifdef HAVE_PUTENV @@ -49,7 +49,7 @@ diff --git a/clientserver.c b/clientserver.c int status; umask(orig_umask); -@@ -741,6 +743,44 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char +@@ -740,6 +742,44 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char set_blocking(fds[1]); pre_exec_fd = fds[1]; } @@ -94,7 +94,7 @@ diff --git a/clientserver.c b/clientserver.c umask(0); } #endif -@@ -968,6 +1008,44 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char +@@ -971,6 +1011,44 @@ static int rsync_module(int f_in, int f_out, int i, const char *addr, const char return 0; }