X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/94adfe526fd3fe6919e3efd786d08524f634fade..5bf6d6c5b3fce064ba835d1d37dd7b29996b0067:/openssl-support.diff diff --git a/openssl-support.diff b/openssl-support.diff index 101cdae..65ba135 100644 --- a/openssl-support.diff +++ b/openssl-support.diff @@ -105,7 +105,7 @@ To use this patch, run these commands for a successful build: } static int exchange_protocols(int f_in, int f_out, char *buf, size_t bufsiz, int am_client) -@@ -244,6 +257,32 @@ int start_inband_exchange(int f_in, int +@@ -256,6 +269,32 @@ int start_inband_exchange(int f_in, int if (verbose > 1) print_child_argv("sending daemon args:", sargs); @@ -135,10 +135,10 @@ To use this patch, run these commands for a successful build: + } +#endif + - p = strchr(path, '/'); - if (p) *p = '\0'; - io_printf(f_out, "%s\n", path); -@@ -272,6 +311,10 @@ int start_inband_exchange(int f_in, int + io_printf(f_out, "%.*s\n", modlen, modname); + + /* Old servers may just drop the connection here, +@@ -281,6 +320,10 @@ int start_inband_exchange(int f_in, int * server to terminate the listing of modules. * We don't want to go on and transfer * anything; just exit. */ @@ -149,7 +149,7 @@ To use this patch, run these commands for a successful build: exit(0); } -@@ -279,6 +322,10 @@ int start_inband_exchange(int f_in, int +@@ -288,6 +331,10 @@ int start_inband_exchange(int f_in, int rprintf(FERROR, "%s\n", line); /* This is always fatal; the server will now * close the socket. */ @@ -160,7 +160,7 @@ To use this patch, run these commands for a successful build: return -1; } -@@ -807,6 +854,9 @@ int start_daemon(int f_in, int f_out) +@@ -818,6 +865,9 @@ int start_daemon(int f_in, int f_out) if (exchange_protocols(f_in, f_out, line, sizeof line, 0) < 0) return -1; @@ -170,7 +170,7 @@ To use this patch, run these commands for a successful build: line[0] = 0; if (!read_line_old(f_in, line, sizeof line)) return -1; -@@ -818,6 +868,20 @@ int start_daemon(int f_in, int f_out) +@@ -829,6 +879,20 @@ int start_daemon(int f_in, int f_out) return -1; } @@ -370,7 +370,7 @@ To use this patch, run these commands for a successful build: default: /* A large opt value means that set_refuse_options() * turned this option off. */ -@@ -1536,6 +1599,17 @@ int parse_arguments(int *argc_p, const c +@@ -1535,6 +1598,17 @@ int parse_arguments(int *argc_p, const c if (delay_updates && !partial_dir) partial_dir = tmp_partialdir; @@ -388,7 +388,7 @@ To use this patch, run these commands for a successful build: if (inplace) { #ifdef HAVE_FTRUNCATE if (partial_dir) { -@@ -2011,10 +2085,27 @@ char *check_for_hostspec(char *s, char * +@@ -2007,10 +2081,27 @@ char *check_for_hostspec(char *s, char * char *p; int not_host; int hostlen; @@ -428,7 +428,7 @@ To use this patch, run these commands for a successful build: #define BACKUP_SUFFIX "~" -@@ -500,6 +501,11 @@ enum msgcode { +@@ -520,6 +521,11 @@ typedef unsigned int size_t; # define SIZEOF_INT64 SIZEOF_OFF_T #endif