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 04:40:37 GMT
On Tue, 21 May 2002, Cliff Woolley wrote:

> Didn't someone post a patch for this months ago?  I remember it was an
> extraneous timezone add (or subtract, one of the two), and that it was
> in the Win32-specific time code.

Was this it, perhaps?

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;
 }

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



Mime
View raw message