www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/15/06:10:44

Date: Mon, 15 Apr 1996 13:04:46 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Paul Derbyshire <ao950 AT FreeNet DOT Carleton DOT CA>
Cc: djgpp AT delorie DOT com
Subject: Re: malloc crash
In-Reply-To: <4kq1br$f2j@freenet-news.carleton.ca>
Message-Id: <Pine.SUN.3.91.960415130304.4189J-100000@is>
Mime-Version: 1.0

On 14 Apr 1996, Paul Derbyshire wrote:

> My program can't be causing it that way: it uses realloc to replace a
> smaller chunk with a larger chunk.

Yes, it can.  Each time you realloc, a different region might be 
allocated by the library `sbrk'.

> In any case, I don't think I have this CWSDPMI thing... or is it part of
> djgpp?

You should have CWSDPMI.EXE in your bin/ subdirectory.  If you do, and 
don't run under Windows or QDPMI, CWSDPMI is loaded by the startup code 
of every DJGPP program (in v2).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019