home *** CD-ROM | disk | FTP | other *** search
- Subject: v24i035: Elm mail system, release 2.3, patches, Part11/11
- Newsgroups: comp.sources.unix
- Approved: rsalz@uunet.UU.NET
- X-Checksum-Snefru: 5e35c50c aa089f46 01414afe 4f5c845b
-
- Submitted-by:
- Posting-number: Volume 24, Issue 35
- Archive-name: elm2.3patches/part11
-
- Subject: elm 2.3 Patch #11
- Summary: This is an official patch for elm 2.3 system. Please apply it.
- Priority: HIGH
-
- Fix missed j=0 assign in newalias
- From: Shawn Shealy <shawn@Columbia.NCR.COM>
-
- 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 <thisarticle".
- If you don't have the patch program, apply the following by hand,
- or get patch (version 2.0, latest patchlevel).
-
- After patching:
- make
- make install
-
- If patch indicates that patchlevel is the wrong version, you may need
- to apply one or more previous patches, or the patch may already
- have been applied. See the patchlevel.h file to find out what has or
- has not been applied. In any event, don't continue with the patch.
-
- If you are missing previous patches they can be obtained from our:
- archive server.
-
- Syd Weinstein
- elm@DSI.COM
-
- The patches are available from the dsinc archive server
- Send the following message to archive-server@DSI.COM for
- a list of available patches:
-
- Subject: patch list
- send index elm
-
- Index: hdrs/patchlevel.h
- Prereq: 10
- *** ../elm2.3/hdrs/patchlevel.h Wed Dec 19 10:00:57 1990
- --- hdrs/patchlevel.h Mon Jan 7 20:31:05 1991
- ***************
- *** 1 ****
- ! #define PATCHLEVEL 10
- --- 1 ----
- ! #define PATCHLEVEL 11
-
- Index: Patchlist
- *** ../elm2.3/Patchlist Wed Dec 19 10:00:58 1990
- --- Patchlist Mon Jan 7 20:38:32 1991
- ***************
- *** 1,4 ****
- ! Elm 2.3 Patch 9 - 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
- --- 1,13 ----
- ! Elm 2.3 Patch 11 - More bug/portability fixes
- ! Mon Jan 7 20:31:33 EST 1991 (Creation date, not posting date)
- ! Fix missed j=0 assign in newalias
- ! From: Shawn Shealy <shawn@Columbia.NCR.COM>
- !
- ! 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 <guardian!jt@Sun.COM>
-
- +
- 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 <d241s016!lde@swn.siemens.be>
-
- +
- 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 <martin@hppcmart.grenoble.hp.com>
- +
-
- 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 <shawn@Columbia.NCR.COM>
- + *
- * 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';
-
-
- exit 0 # Just in case...
-