Xref: utzoo comp.mail.elm:3535 comp.sources.bugs:2779 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!spool2.mu.edu!dsinc!dsinc.DSI.COM!syd From: syd@dsinc.DSI.COM (Syd Weinstein) Newsgroups: comp.mail.elm,comp.sources.bugs Subject: elm 2.3 Patch #11 Summary: This is an official patch for elm 2.3 system. Please apply it. Keywords: elm patch Message-ID: <1991Jan10.011324.28454@DSI.COM> Date: 10 Jan 91 01:13:24 GMT Sender: syd@DSI.COM (Syd Weinstein) Followup-To: comp.mail.elm Organization: Datacomp Systems, Inc., Huntingdon Valley, PA 19006 Lines: 289 Priority: HIGH Fix missed j=0 assign in newalias From: Shawn Shealy Fix warning message in editmsg on voidsig machines From: Chip Salzenberg Fix: From rn, say "| patch -p -N -d DIR", where DIR is your elm source directory. Outside of rn, say "cd DIR; patch -p -N ! ! Fix warning message in editmsg on voidsig machines ! From: Chip Salzenberg ! ! ! Elm 2.3 Patch 10 - More bug/portability fixes Wed Dec 19 09:52:45 EST 1990 (Creation date, not posting date) Add back missing line in length check From: Syd *************** *** 6,11 **** --- 15,21 ---- Fix not checking for mail before scanning From: Syd via report from Joern Lubkoll + Elm 2.3 Patch 9 - More bug/portability fixes Wed Dec 5 22:10:09 EST 1990 (Creation date, not posting date) Add yp search to /etc/yp as well as /usr/etc/yp *************** *** 54,59 **** --- 64,70 ---- Allow Priority: normal is upper or lower N (quickie fix) From: Syd + Elm 2.3 Patch 7 - Misc bug fixes Sun Oct 7 21:33:58 EDT 1990 (Creation date, not posting date) Fixes when newmail detects that the mail folder has grown in size it prints a newline, even *************** *** 82,87 **** --- 93,99 ---- of the mail is local from the system. From: JT McDuffie + Elm 2.3 Patch 6 - Misc bug fixes Wed Aug 15 22:43:46 EDT 1990 (Creation date, not posting date) The newly introduced function 'stricmp' has a name conflict with a libc *************** *** 106,111 **** --- 118,124 ---- each entry on delete properly From: Denis Lambot + Elm 2.3 Patch 5 - Misc bug fixes Thu Jul 12 23:37:22 EDT 1990 (Creation date, not posting date) Be sure that output characters are not negative integers. *************** *** 129,134 **** --- 142,148 ---- Make domain name checking case independent From: Syd, reported by Steven Baur + Elm 2.3 Patch 4 - 8 Bit Changes Tue Jun 26 20:45:13 EDT 1990 (Creation date, not posting date) Fix encoding to encode lines that start with [ and are not *************** *** 149,154 **** --- 163,169 ---- Fix boundry check on argument count in fastmail From: Syd reported by Eric J. Peterson + Elm 2.3 Patch 3 - Release cleanup - Part III of III Thu Jun 21 23:35:40 EDT 1990 (Creation date, not posting date) Fix symbol for NO_XHEADER *************** *** 214,219 **** --- 229,235 ---- Allow use of submit with mmdf instead of sendmail stub From: martin + Elm 2.3 Patch 1 - Release cleanup - Part I Tue Jun 5 22:25:25 EDT 1990 (Creation date, not posting date) Index: src/editmsg.c Prereq: 4.1.1.3 *** ../elm2.3/src/editmsg.c Thu Jul 12 23:35:20 1990 --- src/editmsg.c Mon Jan 7 20:36:52 1991 *************** *** 1,8 **** ! static char rcsid[] = "@(#)$Id: editmsg.c,v 4.1.1.3 90/07/12 22:43:08 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 4.1.1.3 $ $State: Exp $ * * Copyright (c) 1986, 1987 Dave Taylor * Copyright (c) 1988, 1989, 1990 USENET Community Trust --- 1,8 ---- ! static char rcsid[] = "@(#)$Id: editmsg.c,v 4.1.1.4 91/01/07 20:36:26 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 4.1.1.4 $ $State: Exp $ * * Copyright (c) 1986, 1987 Dave Taylor * Copyright (c) 1988, 1989, 1990 USENET Community Trust *************** *** 14,19 **** --- 14,23 ---- * ******************************************************************************* * $Log: editmsg.c,v $ + * Revision 4.1.1.4 91/01/07 20:36:26 syd + * Fix warning message on compiling editmsg on voidsig machines + * From: Chip Salzenberg + * * Revision 4.1.1.3 90/07/12 22:43:08 syd * Make it aware of the fact that we loose the cursor position on * some system calls, so set it far enough off an absolute move will *************** *** 140,149 **** FILE *edit_fd; char buffer[SLEN], editor_name[SLEN], buf[SLEN]; ! int edit_interrupt(), old_raw; #ifdef VOIDSIG void (*oldint)(), (*oldquit)(); #else int (*oldint)(), (*oldquit)(); #endif --- 144,155 ---- FILE *edit_fd; char buffer[SLEN], editor_name[SLEN], buf[SLEN]; ! int old_raw; #ifdef VOIDSIG + void edit_interrupt(); void (*oldint)(), (*oldquit)(); #else + int edit_interrupt(); int (*oldint)(), (*oldquit)(); #endif *************** *** 643,648 **** --- 649,659 ---- return; } + #ifdef VOIDSIG + void + #else + int + #endif edit_interrupt() { /** This routine is called when the user hits an interrupt key Index: utils/newalias.c Prereq: 4.1.1.3 *** ../elm2.3/utils/newalias.c Wed Dec 19 10:01:05 1990 --- utils/newalias.c Mon Jan 7 20:34:14 1991 *************** *** 1,8 **** ! static char rcsid[] = "@(#)$Id: newalias.c,v 4.1.1.3 90/12/06 10:23:22 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 4.1.1.3 $ $State: Exp $ * * Copyright (c) 1986, 1987 Dave Taylor * Copyright (c) 1988, 1989, 1990 USENET Community Trust --- 1,8 ---- ! static char rcsid[] = "@(#)$Id: newalias.c,v 4.1.1.4 91/01/07 20:34:11 syd Exp $"; /******************************************************************************* ! * The Elm Mail System - $Revision: 4.1.1.4 $ $State: Exp $ * * Copyright (c) 1986, 1987 Dave Taylor * Copyright (c) 1988, 1989, 1990 USENET Community Trust *************** *** 14,19 **** --- 14,23 ---- * ******************************************************************************* * $Log: newalias.c,v $ + * Revision 4.1.1.4 91/01/07 20:34:11 syd + * Fix missed j=0 assign in newalias + * From: Shawn Shealy + * * Revision 4.1.1.3 90/12/06 10:23:22 syd * Prevent newalias from trying to process lines without two = signs * From: Syd via report from integow!ronald *************** *** 236,242 **** char aliases[LONG_STRING], address[LONG_STRING]; char comment[LONG_STRING], c; ! int first, last, i = 0, j = 0; /* check for two = signs */ for (i = 0, j = 0; buffer[i]; i++) --- 240,246 ---- char aliases[LONG_STRING], address[LONG_STRING]; char comment[LONG_STRING], c; ! int first, last, i, j; /* check for two = signs */ for (i = 0, j = 0; buffer[i]; i++) *************** *** 255,261 **** aliases[i] = buffer[i]; aliases[i] = '\0'; ! for (i=strlen(buffer)-1; buffer[i] != '=' && i > 0; i--) address[j++] = buffer[i]; address[j] = '\0'; --- 259,265 ---- aliases[i] = buffer[i]; aliases[i] = '\0'; ! for (i=strlen(buffer)-1, j = 0; buffer[i] != '=' && i > 0; i--) address[j++] = buffer[i]; address[j] = '\0'; -- ===================================================================== Sydney S. Weinstein, CDP, CCP Elm Coordinator Datacomp Systems, Inc. Voice: (215) 947-9900 syd@DSI.COM or dsinc!syd FAX: (215) 938-0235