Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!ucbvax!daemon
From: info-vlsi@ucbvax.ARPA
Newsgroups: fa.info-vlsi
Subject: Bug in magic vers.3.80 .
Message-ID: <10151@ucbvax.ARPA>
Date: Fri, 23-Aug-85 12:33:46 EDT
Article-I.D.: ucbvax.10151
Posted: Fri Aug 23 12:33:46 1985
Date-Received: Sat, 24-Aug-85 23:50:05 EDT
Sender: daemon@ucbvax.ARPA
Organization: University of California at Berkeley
Lines: 34

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);