Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.sources.bugs Subject: rn bug #29 Message-ID: <1526@sdcrdcf.UUCP> Date: Mon, 3-Dec-84 19:56:36 EST Article-I.D.: sdcrdcf.1526 Posted: Mon Dec 3 19:56:36 1984 Date-Received: Thu, 6-Dec-84 03:22:05 EST Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Organization: System Development Corp. R+D, Santa Monica Lines: 194 System: rn version 4.1 Bug #: 29 Priority: MEDIUM Subject: Duplicate suppression suppressed by rn/inews disagreements Description: Rn currently verifies that Xref lines are from the current system by matching its idea of site name against the site name put into the Xref line by inews/rnews. This is fine as long as inews and rn agree on the current site name. If they don't, Xref processing is disabled, and articles posted to multiple newsgroups will show up multiple times. Because rn and inews possibly look up the site name via different methods, and different methods may return different sitenames, this problem may arise. If it were only this, it would be fairly easy to force rn to use the same method as inews. Unfortunately, now that local-area networks are becoming more popular, the inews that rn has to agree with may actually run on a different machine! Repeat-By: Using rn, find an article with an Xref line. The first word on the Xref line is the system name as inews thinks of it. You may have to use the "v" command to see the Xref line. To find rn's idea of the site name, type /H. If these two names disagree, you won't get Xref processing. Fix: There's no particular reason why the Xref line has to match rn's idea of system name. It really only has to match the name as inews knows it to show that the Xref is really from this system. Thus the fix is to make rn check the Xref system name against the system named in the Relay-Version line of the same article. This means that you could even change the system name in inews/rnews, and rn will continue to work on both the old and the new articles. From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch