www.delorie.com/archives/browse.cgi | search |
From: | Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Advance warning of failure of realloc() |
Organization: | Pin Eight Software http://pineight.8m.com/ |
Message-ID: | <h91q6tcsncrpqg7hdfoe8lgfulvbggal7j@4ax.com> |
References: | <8kjp6tohorretgu7fadnh7889ub8ihfj4d AT 4ax DOT com> <3A6CDFE1 DOT 4170CCBA AT uol DOT com DOT br> <200101230144 DOT UAA04861 AT envy DOT delorie DOT com> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
Lines: | 9 |
X-Trace: | 9+o0by0oZ2v+iz5w1RbJ8ym4eeZvMHbrCmbpxoDi2keMw5+jLELJwFKy+nnvIdjMCh7RKsCtQOoI!umiYMeflAFhxPyhQJ9fOE+WzzAV1kGHgYrU6VFTeAGibVg6MJsQungVJmqOytoUIVaPWqKm/CeRU!oudA |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Tue, 23 Jan 2001 04:11:49 GMT |
Distribution: | world |
Date: | Tue, 23 Jan 2001 04:11:49 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Mon, 22 Jan 2001 20:44:01 -0500, DJ Delorie <dj AT delorie DOT com> wrote: >>>[snip: how do I safely realloc() memory?] >> >> 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. Anyone up for a patch to the realloc() docs?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |