🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #1907

Re: Lattice 5.04 problem with free()

#1907
From: Darren New
Date: Mon, 30 Oct 1989 21:27
8 lines
878 bytes
In article <1989Oct30.062445.1759@agate.berkeley.edu> mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) writes:
>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.

Why would a free request fail?  Or do you mean that it fails if
you attempt to free NULL or non-malloced memory or something?
	  -- Darren
Technical Details
Message-ID: <2933@nigel.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!udel!new
References: <36769@srcsip.UUCP> <1989Oct30.062445.1759@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!udel!new
From: new@udel.edu (Darren New)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Lattice 5.04 problem with free()
Message-ID: <2933@nigel.udel.EDU>
Date: 30 Oct 89 21:27:22 GMT
References: <36769@srcsip.UUCP> <1989Oct30.062445.1759@agate.berkeley.edu>
Sender: usenet@udel.EDU
Reply-To: new@udel.edu (Darren New)
Organization: University of Delaware
Lines: 8