Date: Thu, 31 Jan 2002 17:20:01 -0800 (PST) From: Mike Makonnen <mike_makonnen@yahoo.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/34497: calendar(1) does not understand calendars Message-ID: <200202010120.g111K1F71283@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/34497; it has been noted by GNATS. From: Mike Makonnen <mike_makonnen@yahoo.com> To: David Taylor <davidt@yadt.co.uk> Cc: bug-followup@freebsd.org Subject: Re: bin/34497: calendar(1) does not understand calendars Date: Thu, 31 Jan 2002 17:14:48 -0800 On Thu, 31 Jan 2002 13:30:02 -0800 (PST) David Taylor <davidt@yadt.co.uk> wrote: > The code is rather weird and obfusciated, but I managed to create a fix > for the specific problem reported, but that doesn't stop '2002-01-33' > being misinterpreted, along with other problems that cropped up.... Hah! That's an understatement! Calendar(1) could be used as a prime example of how *not* to write code. > > However, I don't have enough time to write a calendar(1) replacement from > scratch.. There's also a few other bugs in the code that I have come accross (i.e. - it can't handle 'the first Thursday of every month') and which I thought about fixing, but I've been putting it off because of the time it would take. I'm in agreement with you: any way you look at it the *only* solution IMO is to rewrite the damned thing. Now that I know others would be interested in getting it fixed I'm willing to go ahead and do that if a committer is willing to take a look at my code. cheers, mike makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202010120.g111K1F71283>