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>
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>
On Wed 03 Dec 2014, yhu2 wrote:> 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!The git repository is browseable, the patch for this can be found at https://git.samba.org/?p=rsync.git;a=commitdiff;h=5546dab32970955e77ef7a5886bcd8fb765a25bf Paul