NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41945: calendar(1) doesn't recognize days of the week correctly sometimes
The following reply was made to PR bin/41945; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Thomas Klausner <wiz%NetBSD.org@localhost>, "Jeremy C. Reed"
<reed%reedmedia.net@localhost>
Cc: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: bin/41945: calendar(1) doesn't recognize days of the week
correctly sometimes
Date: Wed, 21 Oct 2009 00:10:07 +0700
Date: Tue, 20 Oct 2009 15:20:44 +0200
From: Thomas Klausner <wiz%NetBSD.org@localhost>
Message-ID: <20091020132044.GY13087%danbala.tuwien.ac.at@localhost>
| However, there's one bug left, I think:
| # ./calendar -d 1005
| Sunday 1800 something
|
| The 5th was a Monday. Perhaps the Sunday is caught by the lookahead
| for the weekend on Fridays (5)?
Try using -l 0 and see if that makes a difference, the lookahead stuff
is wacko, the weekend variation is just plain insane (IMO). But that's
what it is supposed to do, so ...
| While testing it, I found that -f doesn't work as expected
I'll see if I can see anything weird in that, but if you haven't heard from
me by this time tomorrow, it will be (at least) next week sometime.
Are you attempting (or expecting) to have the cpp nonsense work?
I'll also take a look at Jeremey's tests from his 2008 message, and see how
much of that is still broken. Jeremey, if you want to send me either the
calendar.c with the patches you're using in it, or the patches you received,
I'll see if I can reconcile it all. Then someone can commit it, perhaps...
kre
Home |
Main Index |
Thread Index |
Old Index