Re: Bug-report:rsync may hung if time jumps backwards

2014-12-03 Thread yhu2
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

Re: Bug-report:rsync may hung if time jumps backwards

2014-12-03 Thread Paul Slootman
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

Re: Bug-report:rsync may hung if time jumps backwards

2014-11-27 Thread Wayne Davison
On Sun, Nov 16, 2014 at 10:44 PM, yhu2 yadi...@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).

Re: Bug-report:rsync may hung if time jumps backwards

2014-11-27 Thread yhu2
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...@windriver.com mailto:yadi...@windriver.com wrote: + usleep(t*1000); Is it a correct fix? any comments would be appreciated!!! The

Re: Bug-report:rsync may hung if time jumps backwards

2014-11-24 Thread yhu2
Any progress? On 11/20/2014 09:57 AM, yhu2 wrote: Thanks your reply, after test again, both Fixes bug 9789 and rsync 3.1.0 doesn't resolve this bug. when the test script was called as background, I still saw rsync hanged since tdiff variable is used. could you please try it again?

Re: Bug-report:rsync may hung if time jumps backwards

2014-11-19 Thread devzero
Hi, it seems that one already has been fixed in 3.1.0, see https://bugzilla.samba.org/show_bug.cgi?id=9789 and https://git.samba.org/?p=rsync.git;a=commit;h=2dc2070992c00ea6625031813f2b6c886ddc3ade you are still using 2.6.9 ? that`s rather old (~ 8yrs?) and may have bugs and security issues

Re: Bug-report:rsync may hung if time jumps backwards

2014-11-19 Thread yhu2
Thanks your reply, after test again, both Fixes bug 9789 and rsync 3.1.0 doesn't resolve this bug. when the test script was called as background, I still saw rsync hanged since tdiff variable is used. could you please try it again? while [ 1 ] do date -s 2012-10-30 06:28:04 date -s