Many problems with "mailx"

Guy Harris guy at sun.uucp
Tue Aug 13 07:33:43 AEST 1985


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



More information about the Net.bugs.usg mailing list