home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume1 / rn / patch26 < prev    next >
Encoding:
Text File  |  1986-11-30  |  2.2 KB  |  85 lines

  1. System: rn version 4.3
  2. Patch #: 26
  3. Priority: LOW
  4. Subject: Catch command can throw off unread article count
  5. >From: msb@lsuc.UUCP (Mark Brader)
  6.  
  7. Description:
  8.     If more articles are found for a newsgroup after a catchup command
  9.     has been executed, the count of unread articles will be off.  This
  10.     is a hangover from when catchup always threw you out of the newsgroup,
  11.     so it didn't bother keeping track of unread articles because it knew
  12.     it would be recomputed later.
  13.  
  14. Fix:    From rn, say "| patch -d DIR", where DIR is your rn source directory.
  15.     Outside of rn, say "cd DIR; patch <thisarticle".  If you don't have
  16.     the patch program, apply the following by hand, or get patch.
  17.  
  18.     If patch indicates that patchlevel is the wrong version, you may need
  19.     to apply one or more previous patches, or the patch may already
  20.     have been applied.  See the patchlevel file to find out what has or
  21.     has not been applied.  In any event, don't continue with the patch.
  22.  
  23. Index: patchlevel
  24. Prereq: 25
  25. 1c1
  26. < Patch #: 25
  27. ---
  28. > Patch #: 26
  29.  
  30. Index: ng.c
  31. Prereq: 4.3.1.4
  32. *** ng.c.old    Thu Sep  5 12:38:27 1985
  33. --- ng.c    Thu Sep  5 12:39:17 1985
  34. ***************
  35. *** 1,4
  36. ! /* $Header: ng.c,v 4.3.1.4 85/07/23 18:19:46 lwall Exp $
  37.    *
  38.    * $Log:    ng.c,v $
  39.    * Revision 4.3.1.4  85/07/23  18:19:46  lwall
  40.  
  41. --- 1,4 -----
  42. ! /* $Header: ng.c,v 4.3.1.5 85/09/05 12:34:37 lwall Exp $
  43.    *
  44.    * $Log:    ng.c,v $
  45.    * Revision 4.3.1.5  85/09/05  12:34:37  lwall
  46. ***************
  47. *** 1,6
  48.   /* $Header: ng.c,v 4.3.1.4 85/07/23 18:19:46 lwall Exp $
  49.    *
  50.    * $Log:    ng.c,v $
  51.    * Revision 4.3.1.4  85/07/23  18:19:46  lwall
  52.    * Added MAILCALL environment variable.
  53.    * 
  54.  
  55. --- 1,9 -----
  56.   /* $Header: ng.c,v 4.3.1.5 85/09/05 12:34:37 lwall Exp $
  57.    *
  58.    * $Log:    ng.c,v $
  59. +  * Revision 4.3.1.5  85/09/05  12:34:37  lwall
  60. +  * Catchup command could make unread article count too big.
  61. +  * 
  62.    * Revision 4.3.1.4  85/07/23  18:19:46  lwall
  63.    * Added MAILCALL environment variable.
  64.    * 
  65. ***************
  66. *** 721,727
  67.           goto reask_catchup;
  68.       }
  69.       for (i = firstart; i <= lastart; i++) {
  70. !         ctl_set(i);        /* mark as read */
  71.       }
  72.   #ifdef DELAYMARK
  73.       if (dmfp)
  74.  
  75. --- 724,730 -----
  76.           goto reask_catchup;
  77.       }
  78.       for (i = firstart; i <= lastart; i++) {
  79. !         oneless(i);        /* mark as read */
  80.       }
  81.   #ifdef DELAYMARK
  82.       if (dmfp)
  83.  
  84.  
  85.