🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #23377

bug in gnu libs PL 85 ?

#23377
From: Frank Moehle
Date: Tue, 12 Jan 1993 15:13
30 lines
1684 bytes
hello,

I have the following configuration :

Atari ST with 8 Mhz, 2.5 MB Ram, Tos 1.4, 85 MB HD,
and GCC 2.3.1 and the GNU libraries PL 85.
Recently, i found out something strange :
I have a program that allocated a lot of memory using "malloc",
but "free" won't free these blocks!
I re-compiled my sources with PureC, and everything was fine.
Also, adding the following lines to the top of my sources works :

 #include <osbind.h>
 #define malloc Malloc
 #define free Mfree

This way, I`m using the GEMDOS routines for memory allocation.


Frank.
-- 
============================================================================
	     CS Student                                   | I may be late,
Real       : Frank Moehle,  2900 Oldenburg, west germany  | but I'm worth
Inhouse    : faramir!moesel                               | waiting for.
UUCP       : moehle@uniol                                 +-----------------
DOMAIN     : Frank.Moehle@arbi.informatik.uni-oldenburg.de
------------------------------>Fascinating.<--------------------------------
****              It`s how you DO it, not how you don't.                ****
----------------------------------------------------------------------------
Technical Details
Message-ID: <1993Jan12.152127.27821@arbi.Informatik.Uni-Oldenburg.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!nigel.msen.com!math.fu-berlin.de!uniol!Frank.Moehle

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.atari.st
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!nigel.msen.com!math.fu-berlin.de!uniol!Frank.Moehle
From: Frank.Moehle@arbi.informatik.uni-oldenburg.de (Frank Moehle)
Subject: bug in gnu libs PL 85 ?
Organization: University of Oldenburg, Germany
Date: Tue, 12 Jan 1993 15:13:32 GMT
Message-ID: <1993Jan12.152127.27821@arbi.Informatik.Uni-Oldenburg.DE>
Sender: news@arbi.Informatik.Uni-Oldenburg.DE
Lines: 31