Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp
Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!decwrl!sun!guy
From: guy@sun.uucp (Guy Harris)
Newsgroups: net.bugs.usg
Subject: Re: Many problems with "mailx"
Message-ID: <2617@sun.uucp>
Date: Mon, 12-Aug-85 17:33:43 EDT
Article-I.D.: sun.2617
Posted: Mon Aug 12 17:33:43 1985
Date-Received: Thu, 15-Aug-85 08:21:10 EDT
References: <2595@sun.uucp>
Distribution: net
Organization: Sun Microsystems, Inc.
Lines: 47

There were a couple of problems with the bug fixes posted earlier (the mail
I'm running has a rather complicated history so sticking the fixes back into
more vanilla versions of Mail/mailx caused a couple of errors).  The fixes
should be obvious, but here they are anyway:

*** aux.c.broken	Fri Aug  9 14:04:24 1985
--- aux.c	Mon Aug 12 10:47:46 1985
***************
*** 528,533
  {
  	register int c;
  	register char *cp, *cp2;
  	int gotlt, lastsp;
  	char nbuf[BUFSIZ];
  	int nesting;

--- 528,534 -----
  {
  	register int c;
  	register char *cp, *cp2;
+ 	char *bufend;
  	int gotlt, lastsp;
  	char nbuf[BUFSIZ];
  	int nesting;

*** vars.c.broken	Fri Aug  9 02:49:17 1985
--- vars.c	Mon Aug 12 11:29:10 1985
***************
*** 107,113
  
  	if (equal(str, ""))
  		return("");
! 	if ((top = calloc(strlen(str)+1, 1) == NULL)
  		panic ("Out of memory");
  	cp = top;
  	cp2 = str;

--- 107,113 -----
  
  	if (equal(str, ""))
  		return("");
! 	if ((top = calloc(strlen(str)+1, 1)) == NULL)
  		panic ("Out of memory");
  	cp = top;
  	cp2 = str;

	Guy Harris