Date: Mon, 22 Jan 2001 20:44:01 -0500 Message-Id: <200101230144.UAA04861@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <3A6CDFE1.4170CCBA@uol.com.br> (message from Cesar Rabak on Mon, 22 Jan 2001 23:35:29 -0200) Subject: Re: Advance warning of failure of realloc() References: <8kjp6tohorretgu7fadnh7889ub8ihfj4d AT 4ax DOT com> <3A6CDFE1 DOT 4170CCBA AT uol DOT com DOT br> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Save your pointer to the old memory block before attempting to realloc. DJGPP's code allows this, but I didn't realize you could rely on it.