Article View: comp.lang.postscript
Article #7080Re: PostScript Calendar - Correction Required
From: Philip Kos
Date: Thu, 21 Apr 1988 18:18
Date: Thu, 21 Apr 1988 18:18
36 lines
2409 bytes
2409 bytes
In article <3789@techunix.BITNET>, steed@techunix.BITNET (Ze'ev) writes:
> In article <240@uwovax.uwo.cdn> 3021_4346@uwovax.uwo.cdn writes:
> > With regard to the revised PostScript monthly calendar, has
> > anybody noticed that it is producing incorrect calendars
> > for the months of April 1988 onwards?
> The bug is a small one: it checks the month in a leap year to be equal
> to 3 (March) instead of greater or equal (March or later). As a result
> the first day of the month of the months after March are not shifted as
> it should have been.
Weird... I didn't notice any problem either, and after several different
people mentioned it, I figured I must be even more twisted than I thought.
But then I read on....
> Here is the diff for the change. Line numbers may differ, but PScal can
> also be corrected using an editor of your choice: change the "eq" to a
> "ge" in the right place.
I looked at the diff, looked at my copy of pscal, looked at the diff,
scratched my head, looked at my copy of pscal, looked at the diff,
scratched my head... it appears that the reason most recipients of the
new calendar program didn't notice the problem is because it doesn't
exist in their version. Perhaps two versions made it out on the net;
mine certainly has no test for "month 3 ge", or for "month 3 eq" for
that matter; only for "month 2 eq".
Maybe the people with the bad calendars are using the old crufty pscal?
Mine is marked "Copyright (C) 1987 by Pipeline Associates, Inc.", and
was posted around the beginning of April (it has since expired and I
have since modified my copy, so I can't dredge up the posting date).
Phil Kos
...!decvax!decuac!\ Information Systems
...!uunet!mimsy!aplcen!osiris!phil The Johns Hopkins Hospital
...!allegra!/ Baltimore, MD
Technical Details
Message-ID:
<1585@osiris.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ncar!oddjob!mimsy!aplcen!osiris!philReferences:
<8804112027.AA19801@decwrl.dec.com> <3789@techunix.BITNET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ncar!oddjob!mimsy!aplcen!osiris!phil From: phil@osiris.UUCP (Philip Kos) Newsgroups: comp.lang.postscript Subject: Re: PostScript Calendar - Correction Required Message-ID: <1585@osiris.UUCP> Date: 21 Apr 88 18:18:35 GMT References: <8804112027.AA19801@decwrl.dec.com> <3789@techunix.BITNET> Organization: Johns Hopkins Hospital Lines: 35 Summary: different realities or something