[PATCH] [BZ 20628] make mallinfo saturating

Paul Eggert eggert@cs.ucla.edu
Thu Oct 6 21:21:00 GMT 2016


On 10/06/2016 01:43 PM, Joseph Myers wrote:
> Actually, is there really a use for the INTERNAL_SIZE_T abstraction at
> all?  I think it might make sense just to replace INTERNAL_SIZE_T by
> size_t everywhere.

Yes, although I think part of the intent was to support a system with 
individual arenas limited to 2**32 bytes even on 64-bit platforms, if 
nobody needs this capability the code would be simpler without it and 
removing it would fix the problem I mentioned. (Another part of the 
intent was to support pre-C89 platforms where size_t was a signed type, 
but that long ago became unimportant.)



More information about the Libc-alpha mailing list