Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!think!husc6!cmcl2!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: net.news.b,net.news.adm,net.bugs Subject: postnews() bug (2.10.3), with fix Message-ID: <483@mcgill-vision.UUCP> Date: Wed, 13-Aug-86 23:56:13 EDT Article-I.D.: mcgill-v.483 Posted: Wed Aug 13 23:56:13 1986 Date-Received: Tue, 19-Aug-86 22:17:28 EDT Organization: McGill University, Montreal Lines: 34 Keywords: moderated groups, bugs Xref: mnetor net.news.b:367 net.news.adm:645 net.bugs:325 There is a bug in 2.10.3 postnews that causes (some) moderated group postings to be sent to inews directly, which results in their rejection due to "unapproved moderated newsgroup". This will occur when the group's line in $LIB/moderators contains only spaces (no tabs) between the newsgroup name and the moderator's address. The problem is that rules that a space is a punctuation character. In the routine twosplit(), in postnews.c (old code commented in for loop): /* * Split a line of the form * text whitespace text * into two strings. Also trim off any trailing newline. * This is destructive on src. */ twosplit(src, dest1, dest2) char *src, *dest1, *dest2; { [three lines deleted] for (p=src; !isspace(*p)/*isalnum(*p) || ispunct(*p)*/; p++) ; [five more lines deleted] } This even makes the comment accurate! -- der Mouse USA: {ihnp4,decvax,akgua,utzoo,etc}!utcsri!mcgill-vision!mouse think!mosart!mcgill-vision!mouse Europe: mcvax!decvax!utcsri!mcgill-vision!mouse ARPAnet: utcsri!mcgill-vision!mouse@uw-beaver.arpa "Come with me a few minutes, mortal, and we shall talk." - Thanatos (Piers Anthony's Bearing an Hourglass)