Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!cmcl2!husc6!panda!genrad!decvax!tektronix!tekgen!tektools!tonyb From: tonyb@tektools.UUCP (Tony Birnseth) Newsgroups: net.sources.bugs,net.bugs.4bsd,net.news.b Subject: Rn bug (minor calculation error) Message-ID: <1460@tektools.UUCP> Date: Fri, 5-Sep-86 18:58:28 EDT Article-I.D.: tektools.1460 Posted: Fri Sep 5 18:58:28 1986 Date-Received: Sun, 7-Sep-86 05:54:52 EDT Reply-To: tonyb@tektools (Tony Birnseth) Distribution: world Organization: Tektronix, Inc., Beaverton, OR. Lines: 31 Xref: mnetor net.sources.bugs:802 net.bugs.4bsd:917 net.news.b:374 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: The wrong variable name was used in the calculation, diffs follow. Your rcsid and line numbers may vary. RCS file: RCS/bits.c,v retrieving revision 4.5 diff -r4.5 bits.c 1c1 < /* $Header: bits.c,v 4.5 86/08/19 21:48:56 tonyb Exp $ --- > /* $Header: bits.c,v 4.6 86/09/05 15:12:24 tonyb Exp $ 3a4,7 > * Revision 4.6 86/09/05 15:12:24 tonyb > * Changed variable name to correctly report the number of new > * articles that have arrived. > * 627c631 < (long)(lastart - firstart + 1), --- > (long)(lastart - tmpfirst + 1),