apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: APR time test failing
Date Tue, 21 May 2002 05:01:48 GMT
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.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message