[fa.info-vlsi] Bug in magic vers.3.80 .

info-vlsi@ucbvax.ARPA (08/23/85)

From: rochester!ur-helheim!badri@seismo.CSS.GOV (Badri Lokanathan)

Magic Bug Report (version 3.80)
August 23, 1985

Symptoms:
    Ext2sim ALWAYS dumps core with options -L and -A, even though it
    works normally.

Fix:
    Given below is the output of diff run on main.c.
    Go to directory ~cad/src/magic/ext2sim and say (if you have the 
    patch program)
     
		patch main.c diffile

    Otherwise fix by hand at about lines 233.

--
Badri

ARPA    : ur-helheim!badri@rochester.arpa
UUCP	: {allegra,cmcl2,decvax,seismo}!rochester!ur-helheim!badri
USMAIL  : 56 Lansdale St. Rochester NY14620
PHONE   : off. (716)-271-6624    (716)-275-5139  -4066
	: res. (716) 442-1578

----------------------- cut here for diffile ------------------------
233,234c233,234
<     fclose(alf);
<     fclose(labf);
---
>     if (!noAlias) fclose(alf);
>     if (!noLabel) fclose(labf);