Bug-report:rsync may hung if time jumps backwards
Wayne Davison
wayned at samba.org
Thu Nov 27 13:05:40 MST 2014
On Sun, Nov 16, 2014 at 10:44 PM, yhu2 <yadi.hu at windriver.com> wrote:
> + usleep(t*1000);
> Is it a correct fix? any comments would be appreciated!!!
>
The hang was not because time went backwards, but because it moved forward
by over 2 years (which overflows a variable, making the value negative).
I both fixed that issue, and added a configure check for usleep(), which we
will use if it is around. Thanks!
..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20141127/7156677f/attachment.html>
More information about the rsync
mailing list