delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/07/21:35:28

From: "Christopher Nelson" <paradox AT gye DOT satnet DOT net>
To: <djgpp AT delorie DOT com>
Subject: Re: Hmmm, weird problem...
Date: Wed, 7 Jul 1999 13:53:32 -0600
Message-ID: <01bec8b2$641e6500$LocalHost@thendren>
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Reply-To: djgpp AT delorie DOT com

>Remember that realloc
>tries to reallocate the same memory if possible. If it
>can't it will allocate some other block. I am not sure if
>it will copy data from the old block to the new block.


it will copy the info from old to new, otherwise it would be kind of
useless.  :-)

    -={C}=-


- Raw text -


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