X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/b3ea475798bdb7fe0bded242e4c6aa65a9ecdc9d..686ce3aa4f643829bdde0d9908228adb6b541f6d:/threaded-receiver.diff diff --git a/threaded-receiver.diff b/threaded-receiver.diff index 18c3e2c..d908d9a 100644 --- a/threaded-receiver.diff +++ b/threaded-receiver.diff @@ -18,12 +18,6 @@ NOTE: we still need to duplicate the partial_fname static in util.c! If you try this out, please send some email to wayned@samba.org or the rsync mailing list with your results, build changes, bug reports, etc. Thanks! -After applying this patch, run these commands for a successful build: - - ./prepare-source - ./configure (optional if already run) - make - --- old/Makefile.in +++ new/Makefile.in @@ -7,7 +7,7 @@ exec_prefix=@exec_prefix@ @@ -58,7 +52,7 @@ After applying this patch, run these commands for a successful build: if (exit_code) /* Preserve first error code when recursing. */ code = exit_code; -@@ -162,8 +155,6 @@ NORETURN void _exit_cleanup(int code, co +@@ -157,8 +150,6 @@ NORETURN void _exit_cleanup(int code, co if (cleanup_fname) do_unlink(cleanup_fname); @@ -719,7 +713,8 @@ After applying this patch, run these commands for a successful build: } } - void io_flush(int flush_it_all) +-void io_flush(int flush_it_all) ++void io_flush(UNUSED(int flush_it_all)) { - msg2genr_flush(flush_it_all); - msg2sndr_flush();