Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!peregrine!ccicpg!cci632!rit!tropix!ur-valhalla!uhura.cc.rochester.edu!rochester!rutgers!cs.utexas.edu!husc6!paperboy!pmax7!lehotsky From: lehotsky@pmax7.osf.org (Alan Lehotsky) Newsgroups: comp.sys.mac.programmer Subject: Re: malloc in LSC Message-ID: <24@paperboy.OSF.ORG> Date: 15 Aug 89 17:22:07 GMT References: <73300002@m.cs.uiuc.edu> Reply-To: lehotsky@pmax7.osf.org (Alan Lehotsky) Organization: Open Software Foundation Lines: 10 Regarding malloc returning suspicious addresses.... I'm not a betting man, but I'd wager $0.50 (try and collect) that you're calling malloc without having a proper prototype for malloc declared. It's been a while since I have used LSC and done Mac programming, but without the prototype, you're looking at register D0, not at register A0 - which is where pointers are are returned.