[Python-checkins] CVS: python/dist/src/Modules timemodule.c,2.88,2.89
Jack Jansen
python-dev@python.org
Mon, 3 Jul 2000 14:37:29 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv28917
Modified Files:
timemodule.c
Log Message:
Mac only: two epoch problem workarounds are no longer needed for GUSI
>= 2.0.5. One still is:-(
Index: timemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/timemodule.c,v
retrieving revision 2.88
retrieving revision 2.89
diff -C2 -r2.88 -r2.89
*** timemodule.c 2000年06月30日 23:58:05 2.88
--- timemodule.c 2000年07月03日 21:37:27 2.89
***************
*** 260,264 ****
struct tm *p;
errno = 0;
! #if defined(macintosh) && defined(USE_GUSI2)
when = when + GUSI_TO_MSL_EPOCH;
#endif
--- 260,264 ----
struct tm *p;
errno = 0;
! #if defined(macintosh) && defined(USE_GUSI204)
when = when + GUSI_TO_MSL_EPOCH;
#endif
***************
*** 475,479 ****
return NULL;
tt = (time_t)dt;
! #if defined(macintosh) && defined(USE_GUSI2)
tt = tt + GUSI_TO_MSL_EPOCH;
#endif
--- 475,479 ----
return NULL;
tt = (time_t)dt;
! #if defined(macintosh) && defined(USE_GUSI204)
tt = tt + GUSI_TO_MSL_EPOCH;
#endif