home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / reviewed / volume03 / deliver / 01 < prev    next >
Encoding:
Text File  |  1993-03-13  |  6.4 KB  |  281 lines

  1. This patch contains changes to the following files:
  2.     patchlevel.h
  3.     README
  4.     config.h
  5.     deliver.8
  6.     header.c
  7.     main.c
  8.     unctime.y
  9.     conf/os-sun4.h
  10.  
  11. Index: patchlevel.h
  12. Prereq: 10
  13. ***************
  14. *** 1 ****
  15. ! #define PATCHLEVEL 10
  16. --- 1 ----
  17. ! #define PATCHLEVEL 11
  18.  
  19. Index: README
  20. Prereq: 1.11
  21. ***************
  22. *** 1,4 ****
  23. ! $Id: README,v 1.11 1992/07/02 17:57:59 chip Exp $
  24. ! This is the README file for Deliver 2.1.10.
  25.   
  26.   
  27. --- 1,4 ----
  28. ! $Id: README,v 1.12 1992/12/17 20:29:06 chip Exp $
  29. ! This is the README file for Deliver 2.1.11.
  30.   
  31.   
  32. ***************
  33. *** 43,46 ****
  34. --- 43,47 ----
  35.       NeWS-OS 3.2           Sony
  36.       NextOS 2.x            NeXT
  37. +     RiscOS                ?                 both flavors (BSD, SysV)
  38.       SCO UNIX 3.2          SCO               using cc, rcc or gcc
  39.       SCO Xenix 2.x, 3.x    SCO               both Xenix/286 and Xenix/386
  40.  
  41. Index: config.h
  42. Prereq: 1.8
  43. ***************
  44. *** 1,3 ****
  45. ! /* $Id: config.h,v 1.8 1992/01/20 20:36:05 chip Exp $
  46.    *
  47.    * Deliver configuration.
  48. --- 1,3 ----
  49. ! /* $Id: config.h,v 1.9 1992/12/17 20:09:32 chip Exp $
  50.    *
  51.    * Deliver configuration.
  52. ***************
  53. *** 4,7 ****
  54. --- 4,10 ----
  55.    *
  56.    * $Log: config.h,v $
  57. +  * Revision 1.9  1992/12/17  20:09:32  chip
  58. +  * Define HAS_NFS before including finish-os.h.
  59. +  *
  60.    * Revision 1.8  1992/01/20  20:36:05  chip
  61.    * Allow for UUX_OPTS to be a list.
  62. ***************
  63. *** 43,56 ****
  64.   
  65.   /*----------------------------------------------------------------------
  66. -  * Get operating system configuration.
  67. -  * Edit this include statement to refer to the correct file,
  68. -  * or add "-DOSHEADER=os-whatever.h" to DEFS in the Makefile.
  69. -  */
  70. - #include OSINCLUDE
  71. - #include <finish-os.h>
  72. - /*----------------------------------------------------------------------
  73.    * NFS support.
  74.    * If you write mailboxes across NFS, safe creation of mailboxes and
  75. --- 46,49 ----
  76. ***************
  77. *** 61,67 ****
  78. --- 54,74 ----
  79.    * Define HAS_NFS to trigger worst-case assumptions for file creation
  80.    * behavior.  (And believe me: NFS *is* the worst case.)
  81. +  *
  82. +  * NOTE: You must define HAS_NFS before including <finish-os.h>.
  83. +  *       Therefore, you CANNOT define HAS_NFS in <local.h>.
  84. +  *       Define it here, or edit Makefile thus: "UDEFS = -DHAS_NFS".
  85.    */
  86.   
  87.   /* #define HAS_NFS */
  88. + /*----------------------------------------------------------------------
  89. +  * Get operating system configuration.
  90. +  * Edit this include statement to refer to the correct file,
  91. +  * or edit Makefile thus: "OSHEADER = os-whatever.h".
  92. +  */
  93. + #include OSINCLUDE
  94. + #include <finish-os.h>
  95.   
  96.   /*----------------------------------------------------------------------
  97.  
  98. Index: deliver.8
  99. Prereq: 1.8
  100. ***************
  101. *** 1,7 ****
  102. ! .\" $Id: deliver.8,v 1.8 1992/07/02 17:58:44 chip Exp $
  103.   .\"
  104.   .\" Man page for deliver.
  105.   .\"
  106. ! .TH DELIVER 8 "Deliver 2.1.10"
  107.   .SH NAME
  108.   deliver \- deliver mail
  109. --- 1,7 ----
  110. ! .\" $Id: deliver.8,v 1.9 1992/12/17 20:29:00 chip Exp $
  111.   .\"
  112.   .\" Man page for deliver.
  113.   .\"
  114. ! .TH DELIVER 8 "Deliver 2.1.11"
  115.   .SH NAME
  116.   deliver \- deliver mail
  117.  
  118. Index: header.c
  119. Prereq: 1.2
  120. ***************
  121. *** 1,3 ****
  122. ! /* $Id: header.c,v 1.2 1991/05/23 17:23:19 chip Exp $
  123.    *
  124.    * A program to parse RFC 822 mail/news headers.
  125. --- 1,3 ----
  126. ! /* $Id: header.c,v 1.3 1992/11/13 19:11:07 chip Exp $
  127.    *
  128.    * A program to parse RFC 822 mail/news headers.
  129. ***************
  130. *** 18,21 ****
  131. --- 18,24 ----
  132.    *
  133.    * $Log: header.c,v $
  134. +  * Revision 1.3  1992/11/13  19:11:07  chip
  135. +  * Make "-v" really imply "-n".
  136. +  *
  137.    * Revision 1.2  1991/05/23  17:23:19  chip
  138.    * Follow RFC822 definition of header syntax.
  139. ***************
  140. *** 103,106 ****
  141. --- 106,110 ----
  142.       case 'v':
  143.           except = TRUE;
  144. +         printnames = TRUE;
  145.           break;
  146.       case 'f':
  147.  
  148. Index: main.c
  149. Prereq: 1.9
  150. ***************
  151. *** 1,3 ****
  152. ! /* $Id: main.c,v 1.9 1992/05/12 21:02:17 chip Exp $
  153.    *
  154.    * A program to deliver local mail with some flexibility.
  155. --- 1,3 ----
  156. ! /* $Id: main.c,v 1.10 1992/11/19 16:25:27 chip Exp $
  157.    *
  158.    * A program to deliver local mail with some flexibility.
  159. ***************
  160. *** 4,7 ****
  161. --- 4,10 ----
  162.    *
  163.    * $Log: main.c,v $
  164. +  * Revision 1.10  1992/11/19  16:25:27  chip
  165. +  * Reset SIGCLD (or SIGCHLD) during setup.
  166. +  *
  167.    * Revision 1.9  1992/05/12  21:02:17  chip
  168.    * No diagnostic message when sender address is unsafe;
  169. ***************
  170. *** 38,41 ****
  171. --- 41,52 ----
  172.   #include "patchlevel.h"
  173.   
  174. + #ifdef SIGCLD
  175. + # define CHILD_SIGNAL SIGCLD
  176. + #else
  177. + # ifdef SIGCHLD
  178. + #  define CHILD_SIGNAL SIGCHLD
  179. + # endif
  180. + #endif
  181.   /*
  182.    * External data.
  183. ***************
  184. *** 504,507 ****
  185. --- 515,526 ----
  186.       else
  187.       ignore_sigs();
  188. +     /*
  189. +      * Handle death-of-child signal in the default way.
  190. +      */
  191. + #ifdef CHILD_SIGNAL
  192. +     (void) signal(CHILD_SIGNAL, SIG_DFL);
  193. + #endif
  194.   
  195.       /*
  196.  
  197. Index: unctime.y
  198. Prereq: 1.5
  199. ***************
  200. *** 1,4 ****
  201.   /*
  202. !  * $Id: unctime.y,v 1.5 1991/11/12 20:43:10 chip Exp $
  203.    *
  204.    * Conversion of ctime-style date string back to a time_t.
  205. --- 1,4 ----
  206.   /*
  207. !  * $Id: unctime.y,v 1.6 1992/11/19 16:26:03 chip Exp $
  208.    *
  209.    * Conversion of ctime-style date string back to a time_t.
  210. ***************
  211. *** 7,10 ****
  212. --- 7,13 ----
  213.    *
  214.    * $Log: unctime.y,v $
  215. +  * Revision 1.6  1992/11/19  16:26:03  chip
  216. +  * Make yylex() and yyerror() public.
  217. +  *
  218.    * Revision 1.5  1991/11/12  20:43:10  chip
  219.    * Ignore return value of ftime().
  220. ***************
  221. *** 226,230 ****
  222.      If it is a punctuation mark, return the character code.
  223.      Ignore white space.  */
  224. ! static
  225.   yylex()
  226.   {
  227. --- 229,233 ----
  228.      If it is a punctuation mark, return the character code.
  229.      Ignore white space.  */
  230.   yylex()
  231.   {
  232. ***************
  233. *** 301,305 ****
  234.   
  235.   /* ARGSUSED */
  236. - static
  237.   yyerror(s)
  238.   char *s;
  239. --- 304,307 ----
  240.  
  241. Index: conf/os-sun4.h
  242. Prereq: 1.4
  243. ***************
  244. *** 1,3 ****
  245. ! /* $Id: os-sun4.h,v 1.4 1991/08/05 18:19:27 chip Exp $
  246.    *
  247.    * Deliver configuration for SunOS 4.x.
  248. --- 1,3 ----
  249. ! /* $Id: os-sun4.h,v 1.5 1992/07/29 17:08:35 chip Exp $
  250.    *
  251.    * Deliver configuration for SunOS 4.x.
  252. ***************
  253. *** 4,7 ****
  254. --- 4,10 ----
  255.    *
  256.    * $Log: os-sun4.h,v $
  257. +  * Revision 1.5  1992/07/29  17:08:35  chip
  258. +  * SunOS 4.x has vprintf().
  259. +  *
  260.    * Revision 1.4  1991/08/05  18:19:27  chip
  261.    * Rename to "sun4" since discovery that 4.0 also works.
  262. ***************
  263. *** 23,26 ****
  264. --- 26,30 ----
  265.   #define ML_DOTLOCK        /* Create <mailbox>.lock        */
  266.   
  267. + #define HAS_VPRINTF        /* Has vprintf()            */
  268.   #define HAS_PUTENV        /* Has putenv()                */
  269.   #define HAS_GETOPT        /* Has getopt()                */
  270.  
  271.