[fpc-devel] ReallocMem with CMem
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Mar 8 18:33:53 CET 2006
On Wed, 8 Mar 2006 18:19:40 +0100
Micha Nelissen <micha at neli.hopto.org> wrote:
> On Wed, 8 Mar 2006 18:10:38 +0100 (CET)
> Daniƫl Mantione <daniel.mantione at freepascal.org> wrote:
>
> >
> >
> > Op Wed, 8 Mar 2006, schreef Micha Nelissen:
> >
> > > Shouldn't ReallocMem in CMem zero the newly allocated bytes ?
> >
> > No, it is the responsibility of the programmer.
Good.
> Nope. At least the compiler depends on it being zeroed. The FPC heap
> manager zeroes it, as well.
Not under linux. Are you sure?
Mattias
More information about the fpc-devel
mailing list