home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume1
/
rn
/
patch31
< prev
next >
Wrap
Internet Message Format
|
1986-11-30
|
3KB
From harvard!seismo!cbosgd!sdcrdcf!lwall Wed Nov 5 01:10:40 1986
Received: by adelie.Adelie.COM (4.12/UUCP-Proj-1.0)
id AA21541; Wed, 5 Nov 86 01:10:33 est
Received: by harvard.HARVARD.EDU; Tue, 4 Nov 86 22:09:55 EST
Received: from cbosgd.UUCP by seismo.CSS.GOV (5.54/1.14) with UUCP
id AA00601; Tue, 4 Nov 86 21:36:51 EST
Received: by sdc.uucp (4.12/sdcrdcf)
id AA28975; Tue, 4 Nov 86 11:31:21 pst
Date: Tue, 4 Nov 86 11:31:21 pst
From: harvard!seismo!sdcrdcf!lwall (Larry Wall)
Message-Id: <8611041931.AA28975@sdc.uucp>
System: rn version 4.3
Apparently-To: cbosgd!seismo!harvard!adelie!barry
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 <thisarticle". If you don't have
the patch program, apply the following by hand, or get patch.
If patch indicates that patchlevel is the wrong version, you may need
to apply one or more previous patches, or the patch may already
have been applied. See the patchlevel file to find out what has or
has not been applied. In any event, don't continue with the patch.
Index: patchlevel
Prereq: 30
1c1
< Patch #: 30
---
> 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