[5559] in SIPB bug reports
rn patch to make cancels work
daemon@ATHENA.MIT.EDU (mhpower@MIT.EDU)
Sun Oct 8 01:26:59 1995
From: mhpower@MIT.EDU
To: bug-sipb@MIT.EDU
Cc: usenet@MIT.EDU
Date: Sun, 08 Oct 1995 01:26:38 EDT
There's a recent OLC question (listed under "rn cannot cancel
articles") in which a professor indicates that he can't cancel his
news articles using rn. Essentially this is because in the original
article the default hostname was in uppercase, but in the cancel
article it was in lowercase, and innd makes a case-sensitive
comparison in deciding whether to cancel the article. I made a binary
patch to rn on all six of the platforms I could find it for in the
sipb locker, and put the files in /afs/sipb/user/mhpower/rn. The patch
modifies the definition of CANCELHEADER by deleting the substring
"From: %L@%H (%N)\n" and inserting 17 NULs after the final substring
"%i was cancelled from within rn.\n". (This makes it more consistent
with the definition of CANCELHEADER in trn, for example.) I've tested
it by posting and cancelling an article on all six of these platforms.
I didn't bother building rn since my understanding is that there's
a plan to stop supporting rn (in favor of trn) sometime RSN.
This isn't a user-visible change for non-cancel articles. There is, in
fact, a user-visible change that would probably also fix the problem:
changing inews so that it doesn't put the default hostname in
uppercase on the decmips and sgi, and instead puts it in lowercase as
on all of the other platforms. However, I think this could cause
problems for people who post only from the decmips dialup machines, so
I don't want to do this in the middle of the term.
Also, there's no copy of rn available in inbsdbin or arch/sgi_52/bin,
and I didn't bother trying to type one in by hand using emacs.
Is there any objection to replacing the six rn binaries before the
coming release of the sipb locker this morning? I would also make the
corresponding source patch to /mit/sipbsrc/src/rrn/common.h.
Matt