Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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 Xref: watmath comp.bugs.misc:28 comp.unix.wizards:901 > 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..