home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume24 / elm2.3patches / part11 < prev    next >
Text File  |  1991-03-05  |  9KB  |  299 lines

  1. Subject:  v24i035:  Elm mail system, release 2.3, patches, Part11/11
  2. Newsgroups: comp.sources.unix
  3. Approved: rsalz@uunet.UU.NET
  4. X-Checksum-Snefru: 5e35c50c aa089f46 01414afe 4f5c845b
  5.  
  6. Submitted-by: 
  7. Posting-number: Volume 24, Issue 35
  8. Archive-name: elm2.3patches/part11
  9.  
  10. Subject: elm 2.3 Patch #11
  11. Summary: This is an official patch for elm 2.3 system.  Please apply it.
  12. Priority: HIGH
  13.  
  14. Fix missed j=0 assign in newalias
  15. From: Shawn Shealy  <shawn@Columbia.NCR.COM>
  16.  
  17. Fix warning message in editmsg on voidsig machines
  18. From: Chip Salzenberg
  19.  
  20. Fix:    From rn, say "| patch -p -N -d DIR", where DIR is your elm source
  21.     directory.  Outside of rn, say "cd DIR; patch -p -N <thisarticle".
  22.     If you don't have the patch program, apply the following by hand,
  23.     or get patch (version 2.0, latest patchlevel).
  24.  
  25.     After patching:
  26.         make
  27.         make install
  28.  
  29.     If patch indicates that patchlevel is the wrong version, you may need
  30.     to apply one or more previous patches, or the patch may already
  31.     have been applied.  See the patchlevel.h file to find out what has or
  32.     has not been applied.  In any event, don't continue with the patch.
  33.  
  34.     If you are missing previous patches they can be obtained from our:
  35.     archive server.
  36.  
  37.     Syd Weinstein
  38.     elm@DSI.COM
  39.  
  40.     The patches are available from the dsinc archive server
  41.     Send the following message to archive-server@DSI.COM for
  42.     a list of available patches:
  43.  
  44.     Subject: patch list
  45.     send index elm
  46.  
  47. Index: hdrs/patchlevel.h
  48. Prereq: 10
  49. *** ../elm2.3/hdrs/patchlevel.h    Wed Dec 19 10:00:57 1990
  50. --- hdrs/patchlevel.h    Mon Jan  7 20:31:05 1991
  51. ***************
  52. *** 1 ****
  53. ! #define PATCHLEVEL 10
  54. --- 1 ----
  55. ! #define PATCHLEVEL 11
  56.  
  57. Index: Patchlist
  58. *** ../elm2.3/Patchlist    Wed Dec 19 10:00:58 1990
  59. --- Patchlist    Mon Jan  7 20:38:32 1991
  60. ***************
  61. *** 1,4 ****
  62. !     Elm 2.3 Patch 9 - More bug/portability fixes
  63.       Wed Dec 19 09:52:45 EST 1990 (Creation date, not posting date)
  64.   Add back missing line in length check
  65.   From: Syd
  66. --- 1,13 ----
  67. !     Elm 2.3 Patch 11 - More bug/portability fixes
  68. !     Mon Jan  7 20:31:33 EST 1991 (Creation date, not posting date)
  69. ! Fix missed j=0 assign in newalias
  70. ! From: Shawn Shealy  <shawn@Columbia.NCR.COM>
  71. ! Fix warning message in editmsg on voidsig machines
  72. ! From: Chip Salzenberg
  73. !     Elm 2.3 Patch 10 - More bug/portability fixes
  74.       Wed Dec 19 09:52:45 EST 1990 (Creation date, not posting date)
  75.   Add back missing line in length check
  76.   From: Syd
  77. ***************
  78. *** 6,11 ****
  79. --- 15,21 ----
  80.   Fix not checking for mail before scanning
  81.   From: Syd via report from Joern Lubkoll
  82.   
  83.       Elm 2.3 Patch 9 - More bug/portability fixes
  84.       Wed Dec  5 22:10:09 EST 1990 (Creation date, not posting date)
  85.   Add yp search to /etc/yp as well as /usr/etc/yp
  86. ***************
  87. *** 54,59 ****
  88. --- 64,70 ----
  89.   Allow Priority: normal is upper or lower N (quickie fix)
  90.   From: Syd
  91.   
  92.       Elm 2.3 Patch 7 - Misc bug fixes
  93.       Sun Oct  7 21:33:58 EDT 1990 (Creation date, not posting date)
  94.   Fixes when newmail detects that the mail folder has grown in size it prints a newline, even
  95. ***************
  96. *** 82,87 ****
  97. --- 93,99 ----
  98.   of the mail is local from the system.
  99.   From: JT McDuffie <guardian!jt@Sun.COM>
  100.   
  101.       Elm 2.3 Patch 6 - Misc bug fixes
  102.       Wed Aug 15 22:43:46 EDT 1990 (Creation date, not posting date)
  103.   The newly introduced function 'stricmp' has a name conflict with a libc
  104. ***************
  105. *** 106,111 ****
  106. --- 118,124 ----
  107.   each entry on delete properly
  108.   From: Denis Lambot <d241s016!lde@swn.siemens.be>
  109.   
  110.       Elm 2.3 Patch 5 - Misc bug fixes
  111.       Thu Jul 12 23:37:22 EDT 1990 (Creation date, not posting date)
  112.   Be sure that output characters are not negative integers.
  113. ***************
  114. *** 129,134 ****
  115. --- 142,148 ----
  116.   Make domain name checking case independent
  117.   From: Syd, reported by Steven Baur
  118.   
  119.       Elm 2.3 Patch 4 - 8 Bit Changes
  120.       Tue Jun 26 20:45:13 EDT 1990 (Creation date, not posting date)
  121.   Fix encoding to encode lines that start with [ and are not
  122. ***************
  123. *** 149,154 ****
  124. --- 163,169 ----
  125.   Fix boundry check on argument count in fastmail
  126.   From: Syd reported by Eric J. Peterson
  127.   
  128.       Elm 2.3 Patch 3 - Release cleanup - Part III of III
  129.       Thu Jun 21 23:35:40 EDT 1990 (Creation date, not posting date)
  130.   Fix symbol for NO_XHEADER
  131. ***************
  132. *** 214,219 ****
  133. --- 229,235 ----
  134.   
  135.   Allow use of submit with mmdf instead of sendmail stub
  136.   From: martin <martin@hppcmart.grenoble.hp.com>
  137.   
  138.       Elm 2.3 Patch 1 - Release cleanup - Part I
  139.       Tue Jun  5 22:25:25 EDT 1990 (Creation date, not posting date)
  140.  
  141. Index: src/editmsg.c
  142. Prereq: 4.1.1.3
  143. *** ../elm2.3/src/editmsg.c    Thu Jul 12 23:35:20 1990
  144. --- src/editmsg.c    Mon Jan  7 20:36:52 1991
  145. ***************
  146. *** 1,8 ****
  147.   
  148. ! static char rcsid[] = "@(#)$Id: editmsg.c,v 4.1.1.3 90/07/12 22:43:08 syd Exp $";
  149.   
  150.   /*******************************************************************************
  151. !  *  The Elm Mail System  -  $Revision: 4.1.1.3 $   $State: Exp $
  152.    *
  153.    *             Copyright (c) 1986, 1987 Dave Taylor
  154.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  155. --- 1,8 ----
  156.   
  157. ! static char rcsid[] = "@(#)$Id: editmsg.c,v 4.1.1.4 91/01/07 20:36:26 syd Exp $";
  158.   
  159.   /*******************************************************************************
  160. !  *  The Elm Mail System  -  $Revision: 4.1.1.4 $   $State: Exp $
  161.    *
  162.    *             Copyright (c) 1986, 1987 Dave Taylor
  163.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  164. ***************
  165. *** 14,19 ****
  166. --- 14,23 ----
  167.    *
  168.    *******************************************************************************
  169.    * $Log:    editmsg.c,v $
  170. +  * Revision 4.1.1.4  91/01/07  20:36:26  syd
  171. +  * Fix warning message on compiling editmsg on voidsig machines
  172. +  * From: Chip Salzenberg
  173. +  * 
  174.    * Revision 4.1.1.3  90/07/12  22:43:08  syd
  175.    * Make it aware of the fact that we loose the cursor position on
  176.    * some system calls, so set it far enough off an absolute move will
  177. ***************
  178. *** 140,149 ****
  179.   
  180.       FILE *edit_fd;
  181.       char buffer[SLEN], editor_name[SLEN], buf[SLEN];
  182. !     int      edit_interrupt(), old_raw;
  183.   #ifdef VOIDSIG
  184.       void    (*oldint)(), (*oldquit)();
  185.   #else
  186.       int    (*oldint)(), (*oldquit)();
  187.   #endif
  188.   
  189. --- 144,155 ----
  190.   
  191.       FILE *edit_fd;
  192.       char buffer[SLEN], editor_name[SLEN], buf[SLEN];
  193. !     int      old_raw;
  194.   #ifdef VOIDSIG
  195. +     void    edit_interrupt();
  196.       void    (*oldint)(), (*oldquit)();
  197.   #else
  198. +     int    edit_interrupt();
  199.       int    (*oldint)(), (*oldquit)();
  200.   #endif
  201.   
  202. ***************
  203. *** 643,648 ****
  204. --- 649,659 ----
  205.       return;
  206.   }
  207.   
  208. + #ifdef VOIDSIG
  209. + void
  210. + #else
  211. + int
  212. + #endif
  213.   edit_interrupt()
  214.   {
  215.       /** This routine is called when the user hits an interrupt key
  216.  
  217. Index: utils/newalias.c
  218. Prereq: 4.1.1.3
  219. *** ../elm2.3/utils/newalias.c    Wed Dec 19 10:01:05 1990
  220. --- utils/newalias.c    Mon Jan  7 20:34:14 1991
  221. ***************
  222. *** 1,8 ****
  223.   
  224. ! static char rcsid[] = "@(#)$Id: newalias.c,v 4.1.1.3 90/12/06 10:23:22 syd Exp $";
  225.   
  226.   /*******************************************************************************
  227. !  *  The Elm Mail System  -  $Revision: 4.1.1.3 $   $State: Exp $
  228.    *
  229.    *             Copyright (c) 1986, 1987 Dave Taylor
  230.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  231. --- 1,8 ----
  232.   
  233. ! static char rcsid[] = "@(#)$Id: newalias.c,v 4.1.1.4 91/01/07 20:34:11 syd Exp $";
  234.   
  235.   /*******************************************************************************
  236. !  *  The Elm Mail System  -  $Revision: 4.1.1.4 $   $State: Exp $
  237.    *
  238.    *             Copyright (c) 1986, 1987 Dave Taylor
  239.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  240. ***************
  241. *** 14,19 ****
  242. --- 14,23 ----
  243.    *
  244.    *******************************************************************************
  245.    * $Log:    newalias.c,v $
  246. +  * Revision 4.1.1.4  91/01/07  20:34:11  syd
  247. +  * Fix missed j=0 assign in newalias
  248. +  * From: Shawn Shealy  <shawn@Columbia.NCR.COM>
  249. +  * 
  250.    * Revision 4.1.1.3  90/12/06  10:23:22  syd
  251.    * Prevent newalias from trying to process lines without two = signs
  252.    * From: Syd via report from integow!ronald
  253. ***************
  254. *** 236,242 ****
  255.   
  256.       char aliases[LONG_STRING], address[LONG_STRING];
  257.       char comment[LONG_STRING], c;
  258. !     int  first, last, i = 0, j = 0;
  259.   
  260.       /* check for two = signs */
  261.       for (i = 0, j = 0; buffer[i]; i++)
  262. --- 240,246 ----
  263.   
  264.       char aliases[LONG_STRING], address[LONG_STRING];
  265.       char comment[LONG_STRING], c;
  266. !     int  first, last, i, j;
  267.   
  268.       /* check for two = signs */
  269.       for (i = 0, j = 0; buffer[i]; i++)
  270. ***************
  271. *** 255,261 ****
  272.         aliases[i] = buffer[i];
  273.       aliases[i] = '\0';
  274.   
  275. !     for (i=strlen(buffer)-1; buffer[i] != '=' && i > 0; i--)
  276.         address[j++] = buffer[i];
  277.       address[j] = '\0';
  278.   
  279. --- 259,265 ----
  280.         aliases[i] = buffer[i];
  281.       aliases[i] = '\0';
  282.   
  283. !     for (i=strlen(buffer)-1, j = 0; buffer[i] != '=' && i > 0; i--)
  284.         address[j++] = buffer[i];
  285.       address[j] = '\0';
  286.   
  287.  
  288. exit 0 # Just in case...
  289.