On Wed, Jul 14, 2004 at 04:46:41PM -0400, Don Malloy wrote:
> The rsync transfers always fail at the 2GB mark.

There is a bug in the large-file support of 2.6.2 that is fixed by the
attached patch.  Either apply it using "patch" or manually edit the
size_t to OFF_T manually, recompile, and give the resulting rsync a try.

..wayne..
--- generator.c 13 Jul 2004 01:45:51 -0000      1.95
+++ generator.c 14 Jul 2004 16:40:08 -0000      1.96
@@ -205,7 +205,7 @@
  *
  * Generate approximately one checksum every block_len bytes.
  */
-static void generate_and_send_sums(struct map_struct *buf, size_t len, int f_out)
+static void generate_and_send_sums(struct map_struct *buf, OFF_T len, int f_out)
 {
        size_t i;
        struct sum_struct sum;
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to