Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sourceware.cygnus.com Delivered-To: mailing list cygwin@sourceware.cygnus.com Date: Sat, 1 Jul 2000 22:45:20 -0400 Message-Id: <200007020245.WAA14181@envy.delorie.com> From: DJ Delorie To: asharji@plg2.math.uwaterloo.ca CC: cygwin@sourceware.cygnus.com In-reply-to: (asharji@plg2.math.uwaterloo.ca) Subject: Re: user defined malloc References: > My question is do I have to also override the _malloc_r routine, and > if so, could someone provide some information or a link on what is > required? It appears to be a reentrant version of malloc. Yup, newlib is heavy into reentrancy. However, _malloc_r isn't exported by cygwin1.dll and cygwin doesn't expect your program to replace it. I'm not sure how much of a "bug" this is, but I'm open for suggestions. Might want to ask on the newlib list also, I'm sure they have really good reasons to call the reentrant malloc. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com