home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume29 / rkive / patch02 next >
Text File  |  1992-04-15  |  4KB  |  123 lines

  1. Newsgroups: comp.sources.misc
  2. From: kent@sparky.imd.sterling.com (Kent Landfield)
  3. Subject:  v29i075:  rkive - Usenet sources archiver, Patch02
  4. Message-ID: <1992Apr15.162108.28771@sparky.imd.sterling.com>
  5. X-Md4-Signature: 6d6f92ed844d5c962fda6b0740a3e9c5
  6. Date: Wed, 15 Apr 1992 16:21:08 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: kent@sparky.imd.sterling.com (Kent Landfield)
  10. Posting-number: Volume 29, Issue 75
  11. Archive-name: rkive/patch02
  12. Environment: UNIX
  13. Patch-To: rkive: Volume 17, Issue 17-22
  14.  
  15. This is not the long awaited/promised patch to rkive... This is a bug
  16. fix patch. The enhancements patch is still in the works. RSN.. :-) This
  17. patch fixes a couple of nasty problems.   Thanks go out to Juergen Weigert  
  18. <jnweiger@immd4.informatik.uni-erlangen.de> for initially pointing out the 
  19. NNTP problem and to Chris Meyers <chris@wugate.wustl.edu> for providing the
  20. NNTP patch.
  21.  
  22.  -Kent+
  23. -------
  24. diff -rc ../rkive2.1/article.h ./article.h
  25. *** ../rkive2.1/article.h    Wed Apr 15 10:29:51 1992
  26. --- ./article.h    Wed Apr 15 10:47:29 1992
  27. ***************
  28. *** 1,5 ****
  29.   /*
  30. ! **     @(#)article.h    2.3 5/9/91
  31.   **
  32.   */
  33.   
  34. --- 1,5 ----
  35.   /*
  36. ! **     @(#)article.h    2.4 4/15/92
  37.   **
  38.   */
  39.   
  40. ***************
  41. *** 73,79 ****
  42.   ** article header storage structure
  43.   */
  44.   
  45. ! #define MAX_HEADERS    35 /* No 'other' here! */
  46.   
  47.   
  48.   struct    header {
  49. --- 73,79 ----
  50.   ** article header storage structure
  51.   */
  52.   
  53. ! #define MAX_HEADERS    36 /* No 'other' here! */
  54.   
  55.   
  56.   struct    header {
  57. diff -rc ../rkive2.1/nntpart.c ./nntpart.c
  58. *** ../rkive2.1/nntpart.c    Wed Apr 15 10:29:55 1992
  59. --- ./nntpart.c    Wed Apr 15 10:44:42 1992
  60. ***************
  61. *** 9,15 ****
  62.   */
  63.   
  64.   #if !defined(lint) && !defined(SABER)
  65. ! static char *SID = "@(#)nntpart.c    2.2 5/9/91";
  66.   #endif
  67.   
  68.   /*LINTLIBRARY*/
  69. --- 9,15 ----
  70.   */
  71.   
  72.   #if !defined(lint) && !defined(SABER)
  73. ! static char *SID = "@(#)nntpart.c    2.3 4/15/92";
  74.   #endif
  75.   
  76.   /*LINTLIBRARY*/
  77. ***************
  78. *** 293,299 ****
  79.           while (get_server(ser_line, sizeof(ser_line)) >= 0) {  /* while */
  80.               if (ser_line[0] == '.' && ser_line[1] == '\0')  /* valid input */
  81.                   break;                          /* get it and write it  */
  82. !             (void) fputs(ser_line, tfp);        /* to standard output.  */
  83.               (void) fputs("\n", tfp);
  84.           }
  85.           (void) fclose(tfp);
  86. --- 293,311 ----
  87.           while (get_server(ser_line, sizeof(ser_line)) >= 0) {  /* while */
  88.               if (ser_line[0] == '.' && ser_line[1] == '\0')  /* valid input */
  89.                   break;                          /* get it and write it  */
  90. !           /* 
  91. !             ** If the text contained a period as the first character of the 
  92. !             ** text line in the original, that first period is doubled.  
  93. !             ** Therefore, the client must examine the first character of 
  94. !             ** each line received, and for those beginning with a period, 
  95. !             ** determine either that this is the end of the text or whether 
  96. !             ** to collapse the doubled period to a single one.
  97. !             */
  98. !  
  99. !             if (ser_line[0] == '.')
  100. !                 (void) fputs(ser_line+1, tfp);  /* doubled '.'  - collapse */
  101. !             else
  102. !                 (void) fputs(ser_line, tfp);    /* general textual input   */
  103.               (void) fputs("\n", tfp);
  104.           }
  105.           (void) fclose(tfp);
  106. diff -rc ../rkive2.1/patchlevel.h ./patchlevel.h
  107. *** ../rkive2.1/patchlevel.h    Wed Apr 15 10:29:55 1992
  108. --- ./patchlevel.h    Wed Apr 15 10:42:32 1992
  109. ***************
  110. *** 1,5 ****
  111.   /*
  112. ! **    @(#)patchlevel.h    2.3 5/9/91
  113.   */
  114.   #define RELEASE 2
  115. ! #define PATCHLEVEL 1
  116. --- 1,5 ----
  117.   /*
  118. ! **    @(#)patchlevel.h    2.4 4/15/92
  119.   */
  120.   #define RELEASE 2
  121. ! #define PATCHLEVEL 2
  122. exit 0 # Just in case...
  123.