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: [RFC][PATCH] malloc: Fix test for malloc_usable_size


Matheus Castanho <msc@linux.ibm.com> writes:
> But I'm still puzzled by why the test on malloc/tst-malloc-usable.c does
> not consider the possibility of the return value being greater than the
> requested alloc size, as the comment on the source indicates that could
> happen.

Well, we're testing our own implementation, so we should know exactly
what to expect.  We're not testing that we meet some standard, we're
testing that we do what we expect.


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