home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume1 / rn / patch34 < prev    next >
Text File  |  1986-11-30  |  4KB  |  133 lines

  1. Article 296 of net.news.b:
  2. Path: adelie!ll-xn!nike!sri-spam!sri-unix!hplabs!sdcrdcf!lwall
  3. From: lwall@sdcrdcf.UUCP (Larry Wall)
  4. Newsgroups: net.news.b,net.sources.bugs
  5. Subject: rn 4.3 patch #34
  6. Message-ID: <3398@sdcrdcf.UUCP>
  7. Date: 3 Nov 86 18:11:47 GMT
  8. Organization: System Development Corporation R&D, Santa Monica
  9. Lines: 119
  10. Xref: adelie net.news.b:296 net.sources.bugs:648
  11.  
  12. System: rn version 4.3
  13. Patch #: 34
  14. Priority: HIGH, if you tried to install patch #32
  15. Subject: Patch #32 was incomplete.
  16. From: Lots of people.  I had .3 Meg of mail this morning.
  17.  
  18. Description:
  19.     Due to terminal brainrot I didn't ship patch 32 in its entirety.
  20.     The variable firstbit is supposed to be declared in bits.h.  And
  21.     it was, here.  I even tested it.  Works great.  Unfortunately I
  22.     haven't converted rn to the newest version of my automatic patch
  23.     generator, which would have done it right.
  24.  
  25. Repeat-By:
  26.     Install patch #32.  Compile.
  27.  
  28. Fix:    From rn, say "| patch -d DIR", where DIR is your rn source directory.
  29.     Outside of rn, say "cd DIR; patch <thisarticle".  If you don't have
  30.     the patch program, apply the following by hand, or get patch.
  31.  
  32.     If patch indicates that patchlevel is the wrong version, you may need
  33.     to apply one or more previous patches, or the patch may already
  34.     have been applied.  See the patchlevel file to find out what has or
  35.     has not been applied.  In any event, don't continue with the patch.
  36.  
  37.     If you are missing previous patches they can be obtained from me:
  38.  
  39.     Larry Wall
  40.     {allegra,burdvax,cbosgd,hplabs,ihnp4,sdcsvax}!sdcrdcf!lwall
  41.  
  42.     If you send a mail message of the following form it will greatly speed
  43.     processing:
  44.  
  45.     Subject: Command
  46.     @SH mailpatch PATH rn 4.3 NUM ...
  47.  
  48.     where PATH is a return path FROM ME TO YOU in bang notation, and NUM
  49.     is the number of one or more patches you need, separated by spaces.
  50.  
  51. Index: patchlevel
  52. Prereq: 33
  53. 1c1
  54. < Patch #: 33
  55. ---
  56. > Patch #: 34
  57.  
  58. Index: bits.h
  59. Prereq: 4.3
  60. *** bits.h.old    Mon Nov  3 09:51:07 1986
  61. --- bits.h    Mon Nov  3 09:51:18 1986
  62. ***************
  63. *** 1,4
  64. ! /* $Header: bits.h,v 4.3 85/05/01 11:36:39 lwall Exp $
  65.    *
  66.    * $Log:    bits.h,v $
  67.    * Revision 4.3  85/05/01  11:36:39  lwall
  68.  
  69. --- 1,4 -----
  70. ! /* $Header: bits.h,v 4.3.1.2 86/11/03 09:49:58 lwall Exp $
  71.    *
  72.    * $Log:    bits.h,v $
  73.    * Revision 4.3.1.2  86/11/03  09:49:58  lwall
  74. ***************
  75. *** 1,6
  76.   /* $Header: bits.h,v 4.3 85/05/01 11:36:39 lwall Exp $
  77.    *
  78.    * $Log:    bits.h,v $
  79.    * Revision 4.3  85/05/01  11:36:39  lwall
  80.    * Baseline for release with 4.3bsd.
  81.    * 
  82.  
  83. --- 1,12 -----
  84.   /* $Header: bits.h,v 4.3.1.2 86/11/03 09:49:58 lwall Exp $
  85.    *
  86.    * $Log:    bits.h,v $
  87. +  * Revision 4.3.1.2  86/11/03  09:49:58  lwall
  88. +  * Added firstbit variable.
  89. +  * 
  90. +  * Revision 4.3.1.1  85/05/10  11:31:52  lwall
  91. +  * Branch for patches.
  92. +  * 
  93.    * Revision 4.3  85/05/01  11:36:39  lwall
  94.    * Baseline for release with 4.3bsd.
  95.    * 
  96. ***************
  97. *** 31,37
  98.   #define ctl_clear(a) (ctlarea[(OFFSET(a)) / BITSPERBYTE] &= ~pow2((OFFSET(a)) % BITSPERBYTE))
  99.   #define ctl_read(a) ((ctlarea[(OFFSET(a)) / BITSPERBYTE] & pow2((OFFSET(a)) % BITSPERBYTE)) != 0)
  100.   
  101. ! #define was_read(a) ((a)<firstart || ctl_read(a))
  102.   #endif lint
  103.   
  104.   EXT ART_NUM absfirst INIT(0);    /* 1st real article in current newsgroup */
  105.  
  106. --- 37,43 -----
  107.   #define ctl_clear(a) (ctlarea[(OFFSET(a)) / BITSPERBYTE] &= ~pow2((OFFSET(a)) % BITSPERBYTE))
  108.   #define ctl_read(a) ((ctlarea[(OFFSET(a)) / BITSPERBYTE] & pow2((OFFSET(a)) % BITSPERBYTE)) != 0)
  109.   
  110. ! #define was_read(a) ((a)<firstbit || ctl_read(a))
  111.   #endif lint
  112.   
  113.   EXT ART_NUM absfirst INIT(0);    /* 1st real article in current newsgroup */
  114. ***************
  115. *** 36,41
  116.   
  117.   EXT ART_NUM absfirst INIT(0);    /* 1st real article in current newsgroup */
  118.   EXT ART_NUM firstart INIT(0);    /* minimum unread article number in newsgroup */
  119.   EXT ART_NUM lastart INIT(0);    /* maximum article number in newsgroup */
  120.   
  121.   #ifdef DELAYMARK
  122.  
  123. --- 42,48 -----
  124.   
  125.   EXT ART_NUM absfirst INIT(0);    /* 1st real article in current newsgroup */
  126.   EXT ART_NUM firstart INIT(0);    /* minimum unread article number in newsgroup */
  127. + EXT ART_NUM firstbit INIT(0);    /* minimum valid bit, usually == firstart */
  128.   EXT ART_NUM lastart INIT(0);    /* maximum article number in newsgroup */
  129.   
  130.   #ifdef DELAYMARK
  131.  
  132.  
  133.