[fpc-devel] ReallocMem with CMem

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 8 19:10:55 CET 2006


On Wed, 8 Mar 2006 19:01:11 +0100
Micha Nelissen <micha at neli.hopto.org> wrote:

> On Wed, 8 Mar 2006 18:33:53 +0100
> Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> 
> > > Nope. At least the compiler depends on it being zeroed. The FPC heap
> > > manager zeroes it, as well.
> > 
> > Not under linux. Are you sure?
> 
> Hmm, that was changed then and the compiler was fixed; probably due to me
> mentioning it on IRC sometime ago, also :-). The name has 'alloc' in it,
> so maybe that's why I keep getting confused, ResizeMem or so would be more
> appropriate.

What has 'alloc' to do with cleaning/zeroing?

Mattias



More information about the fpc-devel mailing list