Article View: news.software.nntp
Article #45643Re: [ANNOUNCE] Diablo 2.0 BETA01 Available
From: Blackened Cajun Fluffy
Date: Sun, 09 Apr 2000 00:00
Date: Sun, 09 Apr 2000 00:00
69 lines
4218 bytes
4218 bytes
Russ Allbery <rra@stanford.edu> wrote:
[...]
> INN goes a little too far; a little known and truly bizarre edge case of
> the code that's been in INN for eons is that it will actually handle some
> of the case folding, treating the RHS as case-insensitive and the LHS as
> case sensitive *unless* it matches "postmaster" in which case it's
> case-insensitive. I think that's a little excessive. :) (And while
> someone apparently thought RFC 822 required that, my reading doesn't
> indicate anything of the sort.)
Funny you should mention this. I recently wasted some time trying to
unravel the rationale behind that behavior while translating dbz 3 to,
um, well, Java.[1] Since I'm tired and my brane is full, might as well
dump this out on news before the little voices[4] get too angry.
That "logic", Cthulhu reference and all, is lifted almost verbatim
from C News (libcnews/case.c, for the curious). The problem it was
attempting to fix is that B News adopted early in its life the habit
of lowercasing IDs in toto when adding them to history (again for the
curious, src/ifuncs.c).
The B News behavior obviously was suboptimal, though it would work
fine with IDs it generated itself since the LHS was all numeric. Too
bad for anyone not using the B inews, I guess. There is, of course,
no commentary in the B source[2] about *why* the insensitivity was
added; someone must have had a server Out There that was changing ID
cases in transit that it had to deal with (I don't know what that
would have been, but a guess would involve some variant of A News
running on a case-insensitive filesystem.[3]).
Now, the obvious, simple, sane correction of this historical oddity
would be to move to simple case-sensitive history storage then and
there. Or so I would think, if my brane wasn't full. No reason is
given for why C News goes through the trouble of hybrid mangling, but
there are subtle hints in the source (even beyond the silliness of
worrying about "postmaster" in a message ID) that it all may have been
a tongue-in-cheek compromise to settle silly arguments:
#ifdef NONSTANDARD
#ifdef RFCVIOLATION
#ifdef B_2_11_MISTAKE
p = s; /* all case-insensitive */
#endif
#endif
#endif
Given that this thread exists, I guess that wasn't the final word on
the matter.
[1] Honest, that isn't nearly as stupid an idea as it seems, unless
you think about it.
[2] That package is chock full of undocumented little quirks that
never made their way into RFCs (like the murky origins of our dearly
beloved dash-dash-space). It's a wonder that anything else ever
managed to communicate successfully with the thing.
[3] Yes, there really was a reason to discourage slashes in IDs. Be
very afraid.
[4] Meow.
--
*** This was posted with the express permission of ***
** HIS HIGHNESS KAAZMANN LORD AND MASTER OF USENET **
********* We are simple servants of his will *********
Technical Details
Message-ID:
<874s9bm4ez.fsf@meowhost.meow.invalid>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<8chf8h$13m6$1@quince.news.easynet.net> <yl3doxwpgu.fsf@windlord.stanford.edu> <38eec75b$0$26044@news.execpc.com> <REPOST.REPOST.REPOST.REPOST.REPOST.REPOST-100000@pedophile.netscum.dK> <38ef69d9$0$26041@news.execpc.com> <ylya6ogwjq.fsf@windlord.stanford.edu> <20000408191151.201$14@newsreader.com> <yld7o0f9hp.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <874s9bm4ez.fsf@meowhost.meow.invalid> Subject: Re: [ANNOUNCE] Diablo 2.0 BETA01 Available Date: Sun, 09 Apr 2000 00:00:00 +0000 From: Blackened Cajun Fluffy <supersede@india.com> References: <8chf8h$13m6$1@quince.news.easynet.net> <yl3doxwpgu.fsf@windlord.stanford.edu> <38eec75b$0$26044@news.execpc.com> <REPOST.REPOST.REPOST.REPOST.REPOST.REPOST-100000@pedophile.netscum.dK> <38ef69d9$0$26041@news.execpc.com> <ylya6ogwjq.fsf@windlord.stanford.edu> <20000408191151.201$14@newsreader.com> <yld7o0f9hp.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.nntp.mbox.zip!not-for-mail X-Deja-AN: 608901210 Sender: meowing@meowhost.meow.invalid Mail-Copies-To: never Fcc: ~/Mail/sent X-Complaints-To: newsabuse@supernews.com X-Face: #!n`o'kqzEiF(\CL4IR$H.F-||!S*5wv~g8~prn}Z<+F/-^?oJ:#_V#QP?G}!!yayV0]i\' GTb6:]Tic*!vjH}wm>ILhZBn8U0XEjh'l~yrjB?4Iiph5N9:kwqd/}86UTr9i|LCu]Bd)~G1R9U(qJ KOyEQK8*? Organization: If one may meow, all may meow. Newsgroups: news.software.nntp X-Meow: Wouf