CVSROOT:        /sources/dotgnu-pnet
Module name:    pnet
Branch:         
Changes by:     Heiko Weiss <[EMAIL PROTECTED]> 06/02/03 06:39:24

Modified files:
        .              : ChangeLog 
        support        : time.c 

Log message:
        fixed getting offset to UTC time if timezone was changed.
        now each time ILGetTimeZoneAdjust is called we get the timezone 
information, not just one time at ilrun start.
        This is needed because if U change the timezone the offset must be 
calculated again.
        If we don't this, U have to restart ilrun to get the correct time zone.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnet/ChangeLog.diff?tr1=1.3281&tr2=1.3282&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnet/support/time.c.diff?tr1=1.16&tr2=1.17&r1=text&r2=text

Patches:
Index: pnet/ChangeLog
diff -u pnet/ChangeLog:1.3281 pnet/ChangeLog:1.3282
--- pnet/ChangeLog:1.3281       Sat Jan 28 15:07:09 2006
+++ pnet/ChangeLog      Fri Feb  3 06:39:23 2006
@@ -1,3 +1,7 @@
+2006-02-03  Peter Flaig  <[EMAIL PROTECTED]>
+
+       * support/time.c: fixed getting offset to UTC time if timezone was 
changed
+
 2006-01-28  Klaus Treichel  <[EMAIL PROTECTED]>
 
        * engine/jitc.c: Add the functions _ILJitGetSizeOfClass for the ctors 
and
Index: pnet/support/time.c
diff -u pnet/support/time.c:1.16 pnet/support/time.c:1.17
--- pnet/support/time.c:1.16    Fri Oct  8 07:12:10 2004
+++ pnet/support/time.c Fri Feb  3 06:39:24 2006
@@ -237,7 +237,7 @@
                timezone = -(tms->tm_gmtoff);
 #endif
 #endif
-               initialized = 1;
+               //initialized = 1;
        }
        return (ILInt32)timezone;
 #else


_______________________________________________
dotgnu-pnet-commits mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet-commits

Reply via email to