*BSD News Article 1773


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!agate!dog.ee.lbl.gov!horse.ee.lbl.gov!torek
From: torek@horse.ee.lbl.gov (Chris Torek)
Newsgroups: comp.unix.bsd
Subject: Re: gcc 2.2.2 or 386BSD bug?
Message-ID: <24290@dog.ee.lbl.gov>
Date: 1 Jul 92 15:24:53 GMT
Article-I.D.: dog.24290
References: <1992Jun22.164943.18294@ntuix.ntu.ac.sg>
Reply-To: torek@horse.ee.lbl.gov (Chris Torek)
Organization: Lawrence Berkeley Laboratory, Berkeley
Lines: 12
NNTP-Posting-Host: 128.3.112.15

In article <1992Jun22.164943.18294@ntuix.ntu.ac.sg> eoahmad@ntuix.ntu.ac.sg
(Othman Ahmad) points out that the kernel's ocreat() function defines
`struct args' twice in the same scope.

This is a bug, inherited from 4.3BSD-net.2.

To fix it (for now), simply rename one of the two structures.  Neither
name appears anywhere.  Alternatively, delete the word `args' from both
structure declarations.
-- 
In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 510 486 5427)
Berkeley, CA		Domain:	torek@ee.lbl.gov