X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/fc5573623194fab2a331d1ffc8d284c9e25e06e7..041359b073df4fe698ec80f2e0699a2585b2337b:/slow-down.diff diff --git a/slow-down.diff b/slow-down.diff index fa29d74..6c0236a 100644 --- a/slow-down.diff +++ b/slow-down.diff @@ -14,8 +14,8 @@ To use this patch, run these commands for a successful build: ./configure (optional if already run) make +based-on: 3b8f8192227b14e708bf535072485e50f4362270 diff --git a/flist.c b/flist.c -index 09b4fc5..a8847a2 100644 --- a/flist.c +++ b/flist.c @@ -71,6 +71,7 @@ extern int sender_symlink_iconv; @@ -26,7 +26,7 @@ index 09b4fc5..a8847a2 100644 extern struct stats stats; extern char *filesfrom_host; extern char *usermap, *groupmap; -@@ -1704,6 +1705,9 @@ static void send_directory(int f, struct file_list *flist, char *fbuf, int len, +@@ -1753,6 +1754,9 @@ static void send_directory(int f, struct file_list *flist, char *fbuf, int len, } send_file_name(f, flist, fbuf, NULL, flags, filter_level); @@ -37,7 +37,6 @@ index 09b4fc5..a8847a2 100644 fbuf[len] = '\0'; diff --git a/options.c b/options.c -index e7c6c61..762a167 100644 --- a/options.c +++ b/options.c @@ -108,6 +108,7 @@ int size_only = 0; @@ -48,7 +47,7 @@ index e7c6c61..762a167 100644 size_t bwlimit_writemax = 0; int ignore_existing = 0; int ignore_non_existing = 0; -@@ -775,6 +776,7 @@ void usage(enum logcode F) +@@ -776,6 +777,7 @@ void usage(enum logcode F) rprintf(F," --password-file=FILE read daemon-access password from FILE\n"); rprintf(F," --list-only list the files instead of copying them\n"); rprintf(F," --bwlimit=KBPS limit I/O bandwidth; KBytes per second\n"); @@ -56,7 +55,7 @@ index e7c6c61..762a167 100644 rprintf(F," --write-batch=FILE write a batched update to FILE\n"); rprintf(F," --only-write-batch=FILE like --write-batch but w/o updating destination\n"); rprintf(F," --read-batch=FILE read a batched update from FILE\n"); -@@ -963,6 +965,7 @@ static struct poptOption long_options[] = { +@@ -964,6 +966,7 @@ static struct poptOption long_options[] = { {"itemize-changes", 'i', POPT_ARG_NONE, 0, 'i', 0, 0 }, {"no-itemize-changes",0, POPT_ARG_VAL, &itemize_changes, 0, 0, 0 }, {"no-i", 0, POPT_ARG_VAL, &itemize_changes, 0, 0, 0 },