[Bug 1529] 32bit rollover problem rsyncing files greater than 4GB in size

samba-bugs at samba.org samba-bugs at samba.org
Wed Jul 14 16:55:43 GMT 2004


wayned at samba.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From wayned at samba.org  2004-07-14 09:55 -------
Your bug report made the problem easy to find.  I've checked in a fix to CVS,
but you can fix your current source by changing the "size_t" to "OFF_T" in the
generate_and_send_sums() function in generator.c.  It should look like this:

static void generate_and_send_sums(struct map_struct *buf, OFF_T len, int f_out)

Then, recompile, install, and the problem should be gone.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list