www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/22/20:45:29

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 <dj AT delorie DOT com>
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

> 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.

- Raw text -


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