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

samba-bugs at samba.org samba-bugs at samba.org
Tue Sep 6 18:38:55 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=1529





------- Additional Comments From thomas at suse.de  2005-09-06 11:38 -------
thomas at spiral:~> cat rsync-intoverflowtest.c
#include <limits.h>
#include <stdio.h>

int main(void)
{
        unsigned i = UINT_MAX;

        printf("i = %u, i+1 = %u\n", i, i+1);

        exit(0);
}
thomas at spiral:~> ./rsync-intoverflowtest
i = 4294967295, i+1 = 0
thomas at spiral:~>

Yes, I looked at an older version (just the one we ship with our enterprise
server :).
I'll have a look at the rest of your comment tomorrow. :)

-- 
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