Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!pyramid!hplabs!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.sources.bugs,net.bugs.4bsd,net.news.b Subject: rn 4.3 patch #31 Message-ID: <2995@sdcrdcf.UUCP> Date: Tue, 9-Sep-86 19:32:42 EDT Article-I.D.: sdcrdcf.2995 Posted: Tue Sep 9 19:32:42 1986 Date-Received: Thu, 11-Sep-86 22:38:14 EDT References: <1460@tektools.UUCP> Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Distribution: world Organization: System Development Corporation R&D, Santa Monica Lines: 91 Xref: mnetor net.sources.bugs:806 net.bugs.4bsd:933 net.news.b:377 System: rn version 4.3 Patch #: 31 Priority: LOW Subject: Number of new articles arriving is miscalculated From: tonyb@tektools.UUCP (Tony Birnseth) [sort of] Description: When new articles arrive, rn prints a message telling the user how many new articles have arrived. ("nn new articles have arrived!") The count is incorrect. Repeat by: Wait till this event occurs and the number of new articles reported will be the sum of the old number of articles + the new ones that have arrived instead of the difference between the new count and the last know high numbered article. Fix: First of all, if you applied the patch Tony sent out, unapply it. patch -R should do what you want. Then apply the following patch. From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch Patch #: 31 Index: bits.c Prereq: 4.3.1.2 *** bits.c.old Tue Sep 9 16:03:37 1986 --- bits.c Tue Sep 9 16:03:50 1986 *************** *** 1,4 ! /* $Header: bits.c,v 4.3.1.2 86/07/24 14:40:23 lwall Exp $ * * $Log: bits.c,v $ * Revision 4.3.1.2 86/07/24 14:40:23 lwall --- 1,4 ----- ! /* $Header: bits.c,v 4.3.1.3 86/09/09 16:01:43 lwall Exp $ * * $Log: bits.c,v $ * Revision 4.3.1.3 86/09/09 16:01:43 lwall *************** *** 1,6 /* $Header: bits.c,v 4.3.1.2 86/07/24 14:40:23 lwall Exp $ * * $Log: bits.c,v $ * Revision 4.3.1.2 86/07/24 14:40:23 lwall * Gets host name from path instead of relay-version for news 2.10.3. * --- 1,9 ----- /* $Header: bits.c,v 4.3.1.3 86/09/09 16:01:43 lwall Exp $ * * $Log: bits.c,v $ + * Revision 4.3.1.3 86/09/09 16:01:43 lwall + * Fixed 'n more articles' bug. + * * Revision 4.3.1.2 86/07/24 14:40:23 lwall * Gets host name from path instead of relay-version for news 2.10.3. * *************** *** 621,628 IF(verbose) sprintf(buf, "%ld more article%s arrived--looking for more to kill...\n\n", ! (long)(lastart - firstart + 1), ! (lastart > firstart ? "s have" : " has" ) ); ELSE /* my, my, how clever we are */ #endif #ifdef TERSE --- 624,631 ----- IF(verbose) sprintf(buf, "%ld more article%s arrived--looking for more to kill...\n\n", ! (long)(lastart - tmpfirst + 1), ! (lastart > tmpfirst ? "s have" : " has" ) ); ELSE /* my, my, how clever we are */ #endif #ifdef TERSE