Path: utzoo!attcan!uunet!mcvax!philapd!jos From: jos@philapd.UUCP (Jos Vos) Newsgroups: news.software.b Subject: Re: rnews problems with junk Summary: This also went wrong on my systems Keywords: rnews junk Message-ID: <102@philapd.idca.tds.philips.nl> Date: 1 Jun 88 15:16:32 GMT References: <332@vector.UUCP> Reply-To: jos@philapd.UUCP (Jos Vos) Organization: Philips TDS, P.O. Box 245, 7300 AE Apeldoorn, The Netherlands Lines: 36 In article <332@vector.UUCP> chip@vector.UUCP (Chip Rosenthal) writes: >I'm having errlog messages like this from time to time: > > inews: No valid newsgroups found, moved to junk > inews: rnews failed, status 256. Batch saved in /usr/spool/news/88053017024b34 I was just planning to post a similar message! I'm running 2.11 patchlevel 14 (!) (Philips P9000 System V UNIX) and I have the same behaviour. A few weeks ago I started with "official" sources, so I'm sure it's not due to a special version of the code. The patch I put in just this morning was: - Introduce a new variable "exitorig" (as alternative for "exitcode"). - Initialize this to 0. - Don't set "exitcode" to 1 in case of invalid newsgroups, orphaned response or out-of-date article, but set "exitorig" to 1 ("exitcode" stays 0). - In line 1115 (if (exitcode == 0) { if (vflag) ...) replace "exitcode == 0" with "exitcode == 0 && exitorig == 0". This works fine and I think it's more safe the Chip's solution. I first tried not to set exitcode in the 3 cases, but then the article was put two times in the history file. I'm sure the 256 (1 << 8) is the "exitcode = 1" statement, because I replaced the 1,1,1 by 2,3,4 (in the 3 cases) and then got 512 (2 << 8) on an invalid newsgroup. Of course, I'm also waiting for the definite answer... -- # Jos Vos # Internet jos@philapd.UUCP # # Philips TDS, Dept SSP # # # P.O. Box 245 # UUCP ..!mcvax!philapd!jos # # 7300 AE Apeldoorn, The Netherlands # Phone +31 55 433181 #