Rara data corruption with --sparse
Wayne Davison
wayned at samba.org
Mon Sep 16 17:53:27 CEST 2013
On Sat, Sep 14, 2013 at 12:58 PM, David Taylor <davidt-rsync at yadt.co.uk>wrote:
> On the next call to write_sparse() buf will correctly be set to the next
> byte to be written, but sparse_seek will be non-zero and a spurious hole
> will be created in the file.
>
> A simple fix is to add 'sparse_seek = 0;' before 'return l1+ret;'.
>
Yes, indeed. Thanks for pointing that out! I'm committing that fix for
the imminent release of 3.1.0.
..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20130916/5d11a2ef/attachment.html>
More information about the rsync
mailing list