This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: Fix obscure obstack bug



What about if the allocator actually *allocates* a larger chunk the
first time?  In that case, you *would* want to use h->chunk_size.
Perhaps the user-defined allocator must guarantee that h->chunk_size
and the initial allocation agree?


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