* [SUMMARY #3]9 Gig Drives in 3000/600 and an MH question
@ 1998-03-30 16:35 Larry Griffith
0 siblings, 0 replies; only message in thread
From: Larry Griffith @ 1998-03-30 16:35 UTC (permalink / raw)
To: tru64-unix-managers
Dear Managers,
After summary #2, I received the following patch from Mike
Iglesias <iglesias@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 ();
/* \f */
***************
*** 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
============================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-03-30 16:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-30 16:35 [SUMMARY #3]9 Gig Drives in 3000/600 and an MH question Larry Griffith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox