Bug-report:rsync may hung if time jumps backwards
yhu2
yadi.hu at windriver.com
Wed Dec 3 01:08:05 MST 2014
On 11/28/2014 09:41 AM, yhu2 wrote:
>
> thanks your reply, could you please send off official fix?
or could you please tell me which release will include this patch. any
comments would be appreciated!
Yadi
>
> 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/20141203/88fb0fa3/attachment.html>
More information about the rsync
mailing list