[PATCH] Use size_t for mallinfo fields.

Florian Weimer fweimer@redhat.com
Tue Jul 7 14:36:54 GMT 2020


* Andreas Schwab:

> On Jul 07 2020, Florian Weimer wrote:
>
>> If what I wrote above is right (we'd first gather consensus around
>> that), we should probably add struct mallinfo2 and mallinfo2, deprecate
>> the original mallinfo function, and eventually remove them from the
>> public API (turning the original mallinfo into a compatibility symbol).
>
> Isn't mallinfo obsoleted by malloc_info anyway?

None of the malloc alternatives seem to have picked it up.

Martin, why do you want to change mallinfo, rather than switching to
malloc_info?

Thanks,
Florian



More information about the Libc-alpha mailing list