This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH] [BZ 20628] make mallinfo saturating


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.)


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