home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.atari.st
- Path: 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
-
- 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. ****
- ----------------------------------------------------------------------------
-
-