From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111784.tru64-unix-managers.marc@archive.invalid> From: Larry Griffith Date: Mon, 30 Mar 1998 16:35:22 +0000 To: tru64-unix-managers Subject: [SUMMARY #3]9 Gig Drives in 3000/600 and an MH question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111784 Dear Managers, After summary #2, I received the following patch from Mike Iglesias . 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@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 ============================================================================