delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/01/05:39:09

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Message-ID: <3C7F570A.160C0B7A@yahoo.com>
Date: Fri, 01 Mar 2002 05:25:14 -0500
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: Malloc/free DJGPP code
References: <10202281548 DOT AA27673 AT clio DOT rice DOT edu> <3C7E6500 DOT AFE5FEF7 AT yahoo DOT com> <2110-Fri01Mar2002100901+0200-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> 
> > Date: Thu, 28 Feb 2002 12:12:32 -0500
> > From: CBFalconer <cbfalconer AT yahoo DOT com>
> >
> > I am working on the realloc mechanism now, and it looks as if it
> > is going to be able to avoid most of the copying in the most
> > common user sequences, such as while more input double (or
> > otherwise extend) the buffer size.
> 
> I assume you did look at the modified realloc in the CVS sources.  I
> think it also avoids copying in many cases, more then the version
> shipped with djdev203.zip.
> 
> > When realloc is done I will be able to run some comparisons
> > against the old version with the software that exposed the free
> > problem in the first place.
> 
> It would be interesting to add to that comparison the original code of
> free with a change suggested by Charles: stop trying to merge if no
> good place to merge was found in N attempts, for some value of N.
> That is, break out of the loop in `merge' after a certain number of
> attempts.
> 
> > What do you think about the debuggery system linkage, in my 4:50
> > am today message?
> 
> Did you look at the malldbg.c module in the CVS version of the
> library?  Perhaps you could make your facilities compatible with the
> functionality offered by that module.

I am old fashioned and ignorant.  I have never used CVS,
especially over the Internet, so I need some heavy hand holding to
find any of this.  The only similar thing I ever used as Source
Integrity about 4 years ago, which was a horror.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   (Remove "XXXX" from reply address. yahoo works unmodified)
   mailto:uce AT ftc DOT gov  (for spambots to harvest)

- Raw text -


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