parsedate.c bug?

Russ Allbery rra at stanford.edu
Tue Feb 15 09:17:06 UTC 2000


Earl Dukerschein <eadukers at facstaff.wisc.edu> writes:

> I have found some articles in bit.listserv.techwr-l with a date line of:

> Date: Fri, 11 Feb 100 08:27:11 -0500

> Note the year.

I see that that particular newsgroup is a gated mailing list.  Chances are
high that the original message was sent using an older version of elm or
some other non-Y2K-compliant mail reader.

> If a year is 0 through 100, 1900 is added to it.  100 + 1900 = 2000.  So
> a valid date is made of an invalid date.

This was intentional, in anticipation of other programs with Y2K problems.
INN is trying to err on the side of accepting things.  It's an arguable
design choice, but I don't believe it's a bug.

-- 
Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>



More information about the inn-bugs mailing list