tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Larry Griffith <larry () garfield ! wsc ! mass ! edu>
To: tru64-unix-managers
Subject: [SUMMARY #3]9 Gig Drives in 3000/600 and an MH question
Date: Mon, 30 Mar 1998 16:35:22 +0000	[thread overview]
Message-ID: <96078701111784.tru64-unix-managers.marc@archive.invalid> (raw)

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
============================================================================

                 reply	other threads:[~1998-03-30 16:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox