Article View: news.software.readers
Article #56220Re: slrn y2k bug?
From: J. Moreno
Date: Sun, 02 Jan 2000 00:00
Date: Sun, 02 Jan 2000 00:00
36 lines
2613 bytes
2613 bytes
Russ Allbery <rra@stanford.edu> wrote: > J Moreno <planb@newsreaders.com> writes: > > Russ Allbery <rra@stanford.edu> wrote: > > >> That's an INN bug. It's reading 00 as 1900 instead of 2000 like it > >> should. The NEWGROUPS command itself has a Y2K problem in the > >> specification, unfortunately, as the wire protocol calls for a > >> two-digit year, so news clients have to send 00 for 2000 and it's the > >> responsibility of the server to interpret that correctly. > > > I don't think that's a Y2k bug, but rather a Y2.1k bug (the spec > > actually says to interpret 00 as 2000, which is obviously incorrect). > > Still, if you ignore that it's not hard to write it so that a 2 digit > > year works just fine from now on (as long as you aren't more than a > > century out of date), if the year is larger than the current year assume > > it came from the last century. > > One can just fix the server to support four-digit years as well, and > eventually we can stop dealing with the issue. *wry grin* True enough. > I believe INN has supported four digit years here for a little while, and > at least some of the C News patches floating around support them as well. > It may be at the point where clients could send a four digit year and then > retry with a two-digit year iff they get a syntax error. What do the earlier versions of INN and C News do with the input? It could be there wouldn't be any error, just the full group list (everything since 1920, at least for the next 12 years). -- John Moreno
Technical Details
Message-ID:
<1e3t0kv.1nqyxkp1o4mbirN%planb@newsreaders.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn86sblt.poo.soma@amanda.dorsai.org> <84ledf$7q0$1@panix7.panix.com> <slrn86sund.7p1.davis@aluche.mit.edu> <slrn86timk.68q.boojum@localhost.localdomain> <yl3dsge0kg.fsf@windlord.stanford.edu> <1e3szek.esyit315td5czN%planb@newsreaders.com> <ylbt733heo.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <1e3t0kv.1nqyxkp1o4mbirN%planb@newsreaders.com> Subject: Re: slrn y2k bug? Date: Sun, 02 Jan 2000 00:00:00 +0000 From: planb@newsreaders.com (J. Moreno) References: <slrn86sblt.poo.soma@amanda.dorsai.org> <84ledf$7q0$1@panix7.panix.com> <slrn86sund.7p1.davis@aluche.mit.edu> <slrn86timk.68q.boojum@localhost.localdomain> <yl3dsge0kg.fsf@windlord.stanford.edu> <1e3szek.esyit315td5czN%planb@newsreaders.com> <ylbt733heo.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 567639876 Mail-Copies-To: nobody X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1> X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h Organization: NetNews BOFH wannabe User-Agent: MacSOUP/2.4.2 Newsgroups: news.software.readers