🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.xerox
Article #318

End of DST

#318
From: Christopher Lane
Date: Mon, 26 Oct 1987 17:27
33 lines
2207 bytes
Since the end of Daylight Savings Time, Lisp's time is off by an hour.
Since all the other hosts on our net (including Xerox servers and
machines running Mesa (check your SystemTool time)) have the correct
time, I assume it is a bug in the algorithm that monitors DST changes.

The fix of (SETQ \EndDST 298) is not acceptable since 305 is still
the proper value and the fix fails as soon as the workstation goes
to the net for the time and gets a new value of \EndDST after logout.

I tracked through the code that does this determination (I had to use
Koto sources as we've not received Lyric sources from the UGP yet;
I assume for the function in question is identical for Lyric) and I
believe the trouble is in the last COND clause in \CHECKDSTCHANGE.

I'm not 100% positive (I had a hard time working through this) but
my guess is that the problem stems from the fact that \EndDST as
supplied by the network, 305, is based on numbering the year with
January 1 = 1 (Time Protocol, XSIS 088404) whereas lisp calls
\CHECKDSTCHANGE with a YDAY based on January 1 = 0 and I believe that
this is not properly reflected in the math that follows.

Regardless, I made a new version of the function where I changed an
IGREATERP to a GEQ and things seem to be working now.  Even if the
fix is faulty, another clause of the function will kick in a week anyway
and fix the problem.

The patched version of the function is filed in ENDDSTPATCH.DCOM on
<LISPUSERS.KOTO> and in ENDDSTPATCH.LCOM on <LISPUSERS.LYRIC>, both
on SUMEX-AIM.Stanford.EDU .  If anyone follows up on this, I'd be
curious to know what the real story is.

- Christopher
-------
Technical Details
Message-ID: <12345600160.25.LANE@SUMEX-AIM.STANFORD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!amdahl!ames!ucbcad!ucbvax!SUMEX-AIM.STANFORD.EDU!LANE

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!amdahl!ames!ucbcad!ucbvax!SUMEX-AIM.STANFORD.EDU!LANE
From: LANE@SUMEX-AIM.STANFORD.EDU (Christopher Lane)
Newsgroups: comp.sys.xerox
Subject: End of DST
Message-ID: <12345600160.25.LANE@SUMEX-AIM.STANFORD.EDU>
Date: Mon, 26-Oct-87 12:27:08 EST
Article-I.D.: SUMEX-AI.12345600160.25.LANE
Posted: Mon Oct 26 12:27:08 1987
Date-Received: Wed, 28-Oct-87 23:53:43 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 33