🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: realloc() missing from Manx c.lib ?

#2832
From: Tim Desjardins
Date: Fri, 19 Jan 1990 08:16
17 lines
1350 bytes
In article <1990Jan19.005944.5971@aucs.uucp> 850031m@aucs.UUCP (Ross MacGregor) writes:
>Im trying to compile some code that contains a reference to realloc().
>Im using Manx3.6a.  This function, according to the manual, should be
>in c.lib, but when I link the object code I get "Undefined symbol: realloc".
>
>What's going on? Is it really a macro I didn't #include ?
>Or is it a real bug/omission on Manx's part? 

I don't think it's anything you're doing the c32.lib is also missing realloc().
I use malloc and free the stuff that was supposed to be realloced. I had to
do this to get lex to compile. Maybe 5.0 will have realloc() in the stdlib,
one can only hope. If someone has the developers version handy, they can
dig into the lib source ( I think ) and see if it's there. 

Hope this helps.
Tim Desjardins.
tdesjardins@lion.waterloo.{edu|cdn}
Technical Details
Message-ID: <19974@watdragon.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watdragon!lion!tdesjardins
References: <1990Jan19.005944.5971@aucs.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watdragon!lion!tdesjardins
From: tdesjardins@lion.waterloo.edu (Tim Desjardins)
Newsgroups: comp.sys.amiga.tech
Subject: Re: realloc() missing from Manx c.lib ?
Message-ID: <19974@watdragon.waterloo.edu>
Date: 19 Jan 90 08:16:18 GMT
References: <1990Jan19.005944.5971@aucs.uucp>
Sender: daemon@watdragon.waterloo.edu
Reply-To: tdesjardins@lion.waterloo.edu (Tim Desjardins)
Distribution: na
Organization: U. of Waterloo, Ontario
Lines: 17