[SUMMARY #3]9 Gig Drives in 3000/600 and an MH question

From: Larry Griffith <larry_at_garfield.wsc.mass.edu>
Date: Mon, 30 Mar 1998 16:35:22 +0000

Dear Managers,

        After summary #2, I received the following patch from Mike
Iglesias <iglesias_at_draco.acs.uci.edu>. Due to other work I haven't
had a chance to try it, but thanks to Mike. (Note the Y2K problem in
it, which already exist in MH!)


This patch is against mh 6.8.3. See if it helps with your timezone
problem.


Mike

*** zotnet/tws/dtime.c.dist Tue Nov 30 20:01:43 1993
--- zotnet/tws/dtime.c Thu Nov 17 09:16:12 1994
***************
*** 107,113 ****
--- 107,117 ----
  
  #define CENTURY 1900
  
+ #ifdef OSF1
+ time_t time ();
+ #else
  long time ();
+ #endif /* OSF1 */
  struct tm *localtime ();
  
  /* */
***************
*** 175,181 ****
--- 179,189 ----
      tw.tw_zone = -(timezone / 60);
  #else /* defined(SYS5) */
  #if defined(ZONEINFO)
+ #ifdef __alpha
+ tw.tw_zone = (int)tm->tm_gmtoff / 60;
+ #else
      tw.tw_zone = tm->tm_gmtoff / 60;
+ #endif
      if (tm -> tm_isdst) /* if DST is in effect */
          tw.tw_zone -= 60; /* reset to normal offset */
  #else /* defined(ZONEINFO) */



                                                        Larry

============================================================================
Larry Griffith Dept. of Computer & Info Science
larry_at_garfield.wsc.mass.edu Westfield State College
(413) 572-5294 Westfield, MA 01086 USA
PGP public key available at: http://garfield.wsc.mass.edu/dcis/griffith.html
============================================================================
Received on Mon Mar 30 1998 - 23:36:32 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT