[comp.sources.bugs] EDIF 2.0.0, patch 1 ...

roger@mips.UUCP (Roger March) (12/18/87)

	  The current string length is not reset in the 'FormString'
	function, and so each call causes larger and large allocations
	to occur. It is wrong, and for reasons unknown, cause SUNs to
	core dump. Anyway, here is a 'patch'-able 'diff' to fix up
	'edif.y' so it works right.
--
-your friendly neighborhood Rogue Monster                     roger@mips.com
UUCP: {decvax,ucbvax,ihnp4,hplabs,sun,ames,prls}!decwrl!mips!roger
USPS: MIPS Computer Systems, 930 Arques, Sunnyvale, CA 94086, (408) 991-0220

*** ../parser.post/edif.y	Thu Dec 17 08:58:59 1987
--- edif.y	Thu Dec 17 08:43:26 1987
***************
*** 3720,3725 ****
--- 3720,3726 ----
      }
      *cp-- = bck->Data[--bck->Index];
    }
+   StringSize = 0;
    return (cp + 1);
  }
  /*
-- 
-your friendly neighborhood Rogue Monster                     roger@mips.com
UUCP: {decvax,ucbvax,ihnp4,hplabs,sun,ames,prls}!decwrl!mips!roger
USPS: MIPS Computer Systems, 930 Arques, Sunnyvale, CA 94086, (408) 991-0220