Bug-report:rsync may hung if time jumps backwards
yhu2
yadi.hu at windriver.com
Thu Nov 27 18:41:00 MST 2014
thanks your reply, could you please send off official fix?
On 11/28/2014 04:05 AM, Wayne Davison wrote:
> On Sun, Nov 16, 2014 at 10:44 PM, yhu2 <yadi.hu at windriver.com
> <mailto: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/20141128/e3ca4ae3/attachment.html>
More information about the rsync
mailing list