Xref: utzoo news.software.b:6548 news.software.nntp:1032 comp.sources.bugs:2774 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!lib!lib.tmc.edu From: rrn@lib.tmc.edu (Stan Barber) Newsgroups: news.software.b,news.software.nntp,comp.sources.bugs Subject: rn patch #54 Keywords: Patch 54 rn 4.3 Message-ID: <4528@lib.tmc.edu> Date: 6 Jan 91 04:32:51 GMT Sender: sob@lib.tmc.edu Followup-To: poster Organization: Texas Medical Center, Houston Lines: 326 Description: This is an official patch for rn 4.3. This is patch 54. If you need the other patches, you can get them via the Archive Server by sending mail to "archive-server@bcm.tmc.edu" with the subject line of the form "send public rn.XX.patch". Note that only patches 41 and later are available from this resource at this time. Once rn 4.4 is released, the patches to rn 4.3 will be removed. The fully patched rn kit is also available via anonymous ftp from lib.tmc.edu and gazette.bcm.tmc.edu. Look in public/rn. Special note: rn 4.4 will be released in February, 1991. Other patches to rn 4.3 may be released before the rn 4.4 release, but there will be no patch upgrading rn 4.3 to rn 4.4. Please plan to get to fresh copy of the rn kit when 4.4 is released. It will be available via the archive-server@bcm.tmc.edu at that time. This patch fixes the following problems or adds the following new features: [From eggert@twinsun.com] GNU grep 1.5 (the latest version) objects to Pnews's regular expression '^[A-Z][A-Za-z\-]*: *$', saying: ``grep: Unbalanced [''. As a result, Pnews posts nothing. The regular expression itself is slightly wrong: '\' is not a special character inside [...], so [...\...] is merely a character set that includes '\'; the '\' should be deleted. However, GNU grep 1.5 has a bug: '[X-]' is not handled correctly. Although this bug will be fixed in a later version of GNU grep, 1.5 is in widespread use, so it's best to avoid this bug. Lines that look like empty header lines are filtered from the message body as well as the message header. This mangles the body of legal messages. [From whales@cs.ucla.edu] The "fast skip patch" when using NNTP does not work. To reproduce the bug, go into a newsgroup and use the "M" command to mark a series of three or more expired article numbers to return. Then use "q" to leave the newsgroup, "-" to return to it, and "=" to display the subject lines. Now, read the last article in the newsgroup, and type a ^N to search by subject for the next article. RN will indicate it is "skipping" articles, and before long will mark the entire news- group as read. [From edward@twg.com] The News Administrator can't cancel articles that aren't his but are from his site. This happens because "newsuid" is not getting initialized. Fix: cd to your rn source directory and patch away Index: Pnews.SH Prereq: 4.3.2.13 *** Pnews.SH Sat Jan 5 15:17:03 1991 --- ../rn/Pnews.SH Sat Jan 5 15:18:50 1991 *************** *** 4,10 echo "Extracting Pnews (with variable substitutions)" $spitshell >Pnews <Pnews <pw_uid; + } + #endif /* GETPWENT */ + #endif /* NEWSADMIN */ /* get home directory */ homedir = getenv("HOME"); *************** *** 182,190 hostname = savestr(buf); pclose(pipefp); } ! #endif ! #endif ! #endif sitename = savestr(SITENAME); #else sitename = savestr(DOMAIN); --- 196,204 ----- hostname = savestr(buf); pclose(pipefp); } ! #endif /* PHOSTNAME */ ! #endif /* DOUNAME */ ! #endif /* GETHOSTNAME */ sitename = savestr(SITENAME); #else sitename = savestr(DOMAIN); Index: rn.c Prereq: 4.3.2.10 *** rn.c Sat Jan 5 15:16:58 1991 --- ../rn54/rn.c Sat Jan 5 15:05:37 1991 *************** *** 9,16 * RRN/RN: 11/01/89 */ ! static char rnid[] = "@(#)$Header: rn.c,v 4.3.2.10 90/12/30 22:58:24 sob Exp $"; ! static char patchlevel[] = "Patch #: 53"; /* $Log: rn.c,v $ * Revision 4.3.2.10 90/12/30 22:58:24 sob --- 9,16 ----- * RRN/RN: 11/01/89 */ ! static char rnid[] = "@(#)$Header: rn.c,v 4.3.2.11 91/01/04 22:58:24 sob Exp $"; ! static char patchlevel[] = "Patch #: 54"; /* $Log: rn.c,v $ * Revision 4.3.2.11 91/01/04 22:58:24 sob *************** *** 13,18 static char patchlevel[] = "Patch #: 53"; /* $Log: rn.c,v $ * Revision 4.3.2.10 90/12/30 22:58:24 sob * Checkpoint for patch 53 * --- 13,21 ----- static char patchlevel[] = "Patch #: 54"; /* $Log: rn.c,v $ + * Revision 4.3.2.11 91/01/04 22:58:24 sob + * Checkpoint for patch 54 + * * Revision 4.3.2.10 90/12/30 22:58:24 sob * Checkpoint for patch 53 * Index: patchlevel Prereq: 53 *** patchlevel Sat Jan 5 15:16:25 1991 --- ../rn54/patchlevel Sat Jan 5 15:05:37 1991 *************** *** 1,2 ! Patch #: 53 --- 1,2 ----- ! Patch #: 54