delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/05/02/14:12:56

Message-ID: <3EB2B5C0.987AC700@yahoo.com>
Date: Fri, 02 May 2003 14:15:28 -0400
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: nmalloc documentation revisions
References: <3EAF5020 DOT 9E3C6C9A AT yahoo DOT com> <7458-Wed30Apr2003210444+0300-eliz AT elta DOT co DOT il> <3EB08219 DOT 3D55D32A AT yahoo DOT com> <3EB1555C DOT D52AC0B6 AT yahoo DOT com>
Reply-To: djgpp-workers AT delorie DOT com

CBFalconer wrote:
> > >
> > ... snip ...
> > >
> 
> The package, including nmalloc.txh and malldbg revisions, is now
> mounted at:
> 
>   <http://cbfalconer.home.att.net/download/nmalloc.zip>
> 
> Hopefully, I am done :-)  Challenge: find a bug :-)  The only
> thing on my todo list is to actually check proper performance
> under decreasing sbrk returns.

On looking things over, I think that the test for oversize
allocations should also be done for realloc, and that the
malloc_fail hook should also be called for realloc_failure.  The
hook can tell the difference by the non-NULLness of ptr.

Opinions?

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!

- Raw text -


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