Article View: news.software.readers
Article #56235Re: slrn y2k bug?
From: J. Moreno
Date: Sun, 02 Jan 2000 00:00
Date: Sun, 02 Jan 2000 00:00
36 lines
2192 bytes
2192 bytes
Russ Allbery <rra@stanford.edu> wrote: > enCycLoPedic <boojum@attglobal.net> writes: > > > Here's the relevant part of a debug log. > > > <200 enews3.newsguy.com InterNetNews NNRP server INN 1.4x101 20-Sep-99 > > ready (posting ok). > > That version of INN has a Y2K problem that was fixed somewhere around 1.5, > I believe. > > > <412 Not in a newsgroup > >> NEWGROUPS 000102 030933 GMT > >> > > > <231 New newsgroups follow. > > [~10000 groups deleted] > > 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. -- John Moreno
Technical Details
Message-ID:
<1e3szek.esyit315td5czN%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>Show Full Headers
Complete Article Headers
Message-ID: <1e3szek.esyit315td5czN%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> 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: 567637412 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