home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume1 / rn / patch31 / text0000.txt < prev   
Encoding:
Text File  |  1986-11-30  |  2.7 KB  |  92 lines

  1. Patch #: 31
  2. Priority: LOW
  3. Subject: Number of new articles arriving is miscalculated
  4. From: tonyb@tektools.UUCP (Tony Birnseth) [sort of]
  5.  
  6. Description:
  7.     When new articles arrive, rn prints a message telling the user how
  8.     many new articles have arrived.  ("nn new articles have arrived!")
  9.     The count is incorrect.
  10.  
  11. Repeat by:
  12.     Wait till this event occurs and the number of new articles reported
  13.     will be the sum of the old number of articles + the new ones that
  14.     have arrived instead of the difference between the new count and
  15.     the last know high numbered article.
  16.  
  17. Fix:    First of all, if you applied the patch Tony sent out, unapply it.
  18.     patch -R should do what you want.  Then apply the following patch.
  19.  
  20.     From rn, say "| patch -d DIR", where DIR is your rn source directory.
  21.     Outside of rn, say "cd DIR; patch <thisarticle".  If you don't have
  22.     the patch program, apply the following by hand, or get patch.
  23.  
  24.     If patch indicates that patchlevel is the wrong version, you may need
  25.     to apply one or more previous patches, or the patch may already
  26.     have been applied.  See the patchlevel file to find out what has or
  27.     has not been applied.  In any event, don't continue with the patch.
  28.  
  29. Index: patchlevel
  30. Prereq: 30
  31. 1c1
  32. < Patch #: 30
  33. ---
  34. > Patch #: 31
  35.  
  36. Index: bits.c
  37. Prereq: 4.3.1.2
  38. *** bits.c.old    Tue Sep  9 16:03:37 1986
  39. --- bits.c    Tue Sep  9 16:03:50 1986
  40. ***************
  41. *** 1,4
  42. ! /* $Header: bits.c,v 4.3.1.2 86/07/24 14:40:23 lwall Exp $
  43.    *
  44.    * $Log:    bits.c,v $
  45.    * Revision 4.3.1.2  86/07/24  14:40:23  lwall
  46.  
  47. --- 1,4 -----
  48. ! /* $Header: bits.c,v 4.3.1.3 86/09/09 16:01:43 lwall Exp $
  49.    *
  50.    * $Log:    bits.c,v $
  51.    * Revision 4.3.1.3  86/09/09  16:01:43  lwall
  52. ***************
  53. *** 1,6
  54.   /* $Header: bits.c,v 4.3.1.2 86/07/24 14:40:23 lwall Exp $
  55.    *
  56.    * $Log:    bits.c,v $
  57.    * Revision 4.3.1.2  86/07/24  14:40:23  lwall
  58.    * Gets host name from path instead of relay-version for news 2.10.3.
  59.    * 
  60.  
  61. --- 1,9 -----
  62.   /* $Header: bits.c,v 4.3.1.3 86/09/09 16:01:43 lwall Exp $
  63.    *
  64.    * $Log:    bits.c,v $
  65. +  * Revision 4.3.1.3  86/09/09  16:01:43  lwall
  66. +  * Fixed 'n more articles' bug.
  67. +  * 
  68.    * Revision 4.3.1.2  86/07/24  14:40:23  lwall
  69.    * Gets host name from path instead of relay-version for news 2.10.3.
  70.    * 
  71. ***************
  72. *** 621,628
  73.       IF(verbose)
  74.           sprintf(buf,
  75.           "%ld more article%s arrived--looking for more to kill...\n\n",
  76. !         (long)(lastart - firstart + 1),
  77. !         (lastart > firstart ? "s have" : " has" ) );
  78.       ELSE            /* my, my, how clever we are */
  79.   #endif
  80.   #ifdef TERSE
  81.  
  82. --- 624,631 -----
  83.       IF(verbose)
  84.           sprintf(buf,
  85.           "%ld more article%s arrived--looking for more to kill...\n\n",
  86. !         (long)(lastart - tmpfirst + 1),
  87. !         (lastart > tmpfirst ? "s have" : " has" ) );
  88.       ELSE            /* my, my, how clever we are */
  89.   #endif
  90.   #ifdef TERSE
  91.  
  92.