This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Protect some malloc functions with "MALLOC_PROVIDED"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]