This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: [RFA] Protect some malloc functions with "MALLOC_PROVIDED"
- From: Christopher Faylor <cgf at redhat dot com>
- To: "J. Johnston" <jjohnstn at redhat dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Tue, 12 Nov 2002 23:37:17 -0500
- Subject: Re: [RFA] Protect some malloc functions with "MALLOC_PROVIDED"
- References: <20021107025509.GA31273@redhat.com> <3DD18459.E3F9D90A@redhat.com>
On Tue, Nov 12, 2002 at 05:44:41PM -0500, J. Johnston wrote:
>Christopher Faylor wrote:
>>
>> The below patches stop a few more functions from being compiled if
>> MALLOC_PROVIDED is defined. This duplicates functionality in other
>> functions like "malloc.c" and "realloc.c".
>>
>> Ok to checkin?
>>
>
>Go ahead. There is one small issue with this change. There are other platforms
>that currently define MALLOC_PROVIDED but I doubt that they are using these
>obscure functions and providing the necessary _r interfaces that would normally
>be supplied by mallocr.c. If this turns out to be a problem, I will add
>a new flag (e.g. MALLOC_FAMILY_PROVIDED) to distinguish between the two
>situations.
Ok. Thanks for getting back to me.
I've checked this in.
cgf