Article View: comp.sys.amiga.tech
Article #1899Re: Lattice 5.04 problem with free()
From: Mike (I'll think of something ye...
Date: Mon, 30 Oct 1989 06:24
Date: Mon, 30 Oct 1989 06:24
18 lines
1436 bytes
1436 bytes
In article <36769@srcsip.UUCP> carpent@SRC.Honeywell.COM (Todd Carpenter) writes: <Does free() return a value? It used to, in 5.02. I just installed 5.04, and <attempted to recompile some things, and got errors when checking free() to see <if it returns a fail code. My copy of the dpANS C standard and of K&R 2 both show free as being void. The 5.02 docs show free as being an int, with an error if the block wasn't freed. I suspect that someone at Lattice (or a customer) noticed this, so the corrected it in the 5.04 release. <mike -- The Sword of Damocles is hanging over my head Mike Meyer And I've got a feeling someone's gonna be cuttin' the thread mwm@berkeley.edu Oh -- woe is me, My life is a misery ucbvax!mwm And all I can see is I'm on the start of a pretty big downer mwm@ucbjade.BITNET
Technical Details
Message-ID:
<1989Oct30.062445.1759@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!agate!eris.berkeley.edu!mwmReferences:
<36769@srcsip.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!agate!eris.berkeley.edu!mwm From: mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice 5.04 problem with free() Message-ID: <1989Oct30.062445.1759@agate.berkeley.edu> Date: 30 Oct 89 06:24:45 GMT References: <36769@srcsip.UUCP> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) Organization: Missionaria Phonibalonica Lines: 18