🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.misc
Article #62

Re: diffs for ctime.c for new DST rules, v7 systems

#62
From: jgy
Date: Mon, 09 Feb 1987 22:26
14 lines
1109 bytes
> Now, to the ctime.c diffs:
> 
> The changed file will have #define NorthAm but not USA, which is
> correct for Canada. If you are in the USA, add #define USA as well.
> (The 1974-75 change didn't apply in Canada.)
> 
> (I also put in a minor speedup posted to the net a while back;
> the test of year==74||year==75 is changed to year<=75&&year>=74,
> which it a bit faster for dates between 1975 and 1987.)
> 

If you really want a speed-up make the call to 'tzset' in localtime()
dependent on a static variable not being initialized, this provides
some time savings for things like long "ls"'s etc..
Technical Details
Message-ID: <883@hropus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cuae2!ihnp4!houxm!hropus!jgy
References: <1565@lsuc.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cuae2!ihnp4!houxm!hropus!jgy
From: jgy@hropus.UUCP
Newsgroups: comp.bugs.misc,comp.unix.wizards
Subject: Re: diffs for ctime.c for new DST rules, v7 systems
Message-ID: <883@hropus.UUCP>
Date: Mon, 9-Feb-87 17:26:20 EST
Article-I.D.: hropus.883
Posted: Mon Feb  9 17:26:20 1987
Date-Received: Wed, 11-Feb-87 05:27:17 EST
References: <1565@lsuc.UUCP>
Organization: Bell Labs, Holmdel, NJ
Lines: 14