Oops more testing was required....

Martin Pool mbp at samba.org
Wed Jun 18 21:36:05 EST 2003

On 18 Jun 2003, jw schultz <jw at pegasys.ws> wrote:
> On Wed, Jun 18, 2003 at 09:09:59PM +1000, Martin Pool wrote:
> > On 17 Jun 2003, Rogier Wolff <R.E.Wolff at BitWizard.nl> wrote:
> > > 
> > > Oops. Missed one line in the last patch....
> > 
> > Thankyou.  That looks good.
> > 
> > If we're going to make this more accurate it might be worthwhile to
> > actually look at how long we really did sleep for, and use that to
> > adjust time_to_sleep rather than resetting to zero.
> That would have to be a platform specific thing since not
> all systems modify the timeout value to reflect the amount
> of time not slept.  Nevertheless that is a nice idea.

Right, I know that is not portable but I forgot to say so.  As Rogier
say, you need to call gettimeofday() or some such.


More information about the rsync mailing list