home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / atari / st / 19672 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.sys.atari.st
  2. Path: sparky!uunet!think.com!sdd.hp.com!nigel.msen.com!math.fu-berlin.de!uniol!Frank.Moehle
  3. From: Frank.Moehle@arbi.informatik.uni-oldenburg.de (Frank Moehle)
  4. Subject: bug in gnu libs PL 85 ?
  5. Organization: University of Oldenburg, Germany
  6. Date: Tue, 12 Jan 1993 15:13:32 GMT
  7. Message-ID: <1993Jan12.152127.27821@arbi.Informatik.Uni-Oldenburg.DE>
  8. Sender: news@arbi.Informatik.Uni-Oldenburg.DE
  9. Lines: 31
  10.  
  11. hello,
  12.  
  13. I have the following configuration :
  14.  
  15. Atari ST with 8 Mhz, 2.5 MB Ram, Tos 1.4, 85 MB HD,
  16. and GCC 2.3.1 and the GNU libraries PL 85.
  17. Recently, i found out something strange :
  18. I have a program that allocated a lot of memory using "malloc",
  19. but "free" won't free these blocks!
  20. I re-compiled my sources with PureC, and everything was fine.
  21. Also, adding the following lines to the top of my sources works :
  22.  
  23.  #include <osbind.h>
  24.  #define malloc Malloc
  25.  #define free Mfree
  26.  
  27. This way, I`m using the GEMDOS routines for memory allocation.
  28.  
  29.  
  30. Frank.
  31. -- 
  32. ============================================================================
  33.          CS Student                                   | I may be late,
  34. Real       : Frank Moehle,  2900 Oldenburg, west germany  | but I'm worth
  35. Inhouse    : faramir!moesel                               | waiting for.
  36. UUCP       : moehle@uniol                                 +-----------------
  37. DOMAIN     : Frank.Moehle@arbi.informatik.uni-oldenburg.de
  38. ------------------------------>Fascinating.<--------------------------------
  39. ****              It`s how you DO it, not how you don't.                ****
  40. ----------------------------------------------------------------------------
  41.  
  42.