apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Travis <jtra...@covalent.net>
Subject Re: APR time test failing
Date Tue, 21 May 2002 05:14:49 GMT
On Tue, May 21, 2002 at 01:01:48AM -0400, Cliff Woolley wrote:
> On Tue, 21 May 2002, Cliff Woolley wrote:
> 
> > Index: time.c
> > ===================================================================
> > RCS file: /home/cvs/apr/time/win32/time.c,v
> > retrieving revision 1.32
> > diff -u -d -r1.32 time.c
> > --- time.c      15 Apr 2002 00:01:09 -0000      1.32
> > +++ time.c      21 May 2002 04:41:09 -0000
> > @@ -215,7 +215,6 @@
> >      if (days < 0) {
> >          return APR_EBADDATE;
> >      }
> > -    days -= xt->tm_gmtoff;
> >      *t = days * APR_USEC_PER_SEC + xt->tm_usec;
> >      return APR_SUCCESS;
> >  }
> 
> Yeah, that was it.  The unix and win32 apr_time_exp_get() functions are
> virtually identical except for that line on win32.  Does this patch allow
> the tests to pass?  I dug up the original email on the subject (thank you
> MARC ;).  Credit for this should go to INOUE Seiichiro
> <inoue@ariel-networks.com>, who originally reported this in message
> 20020423.004842.122624738.inoue@ariel-networks.com on dev@apr.

Didn't seem to fix it, though maybe my Windows compile-fu is weak.  I'll 
leave it up to Will.

-- Jon


Mime
View raw message