[Bug 9789] rsync hangs when NTP update system clock time

samba-bugs at samba.org samba-bugs at samba.org
Sun May 19 16:55:06 MDT 2013


https://bugzilla.samba.org/show_bug.cgi?id=9789

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Wayne Davison <wayned at samba.org> 2013-05-19 22:55:05 UTC ---
I'm checking in a change to the msleep() function that will ensure that a
backward movement in time doesn't generate a huge sleep.  These 2 new lines are
being added after the call to gettimeofday(&t2, NULL):

+                if (t2.tv_sec < t1.tv_sec)
+                        t1 = t2; /* Time went backwards, so start over. */

This fix will be released in 3.1.0.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list