3.1: bug in --stats
wayned at samba.org
Sat Jun 26 10:02:25 MDT 2010
On Mon, May 3, 2010 at 8:30 AM, Carlos Carvalho <carlos at fisica.ufpr.br>wrote:
> 3.1, including the latest version, produces bogus ---stats output: [...]
> Total file size: -6,417,895,484,864,819,269 bytes
This turned out to be an issue with with the F_LENGTH() accessor for a large
file that had a nano-second modified time stored. Such a file would also
get the wrong nano-second part of the modified time. This is now fixed in
BTW, why aren't these fields [...] of type size_t?
Because size_t can be only 32-bit on some older machines. It would be
better if they were uint64 than int64, but that type isn't currently
determined by the configuration code. However, having 63 bits for the
totals is currently adequate.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync