Mail Archives: djgpp/1996/04/17/10:06:45
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) writes:
> 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'.
Yeah, but when this happens the old region is deallocated. So
multiply-reallocked blocks still mean that CWSDPMI is keeping track
of one block at any given time... so this can't contribute to its running
out of handles or whatever they are for tracking allocated blocks.
>> 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).
I have 1.2, and regular GO32, so the whole thing is moot anyways. I'm not
using CWSDPMI...
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." ,------------------------------------------------
-- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca
- Raw text -