This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Fix obscure obstack bug
- To: neil at daikokuya dot demon dot co dot uk
- Subject: Re: Fix obscure obstack bug
- From: DJ Delorie <dj at redhat dot com>
- Date: Sun, 16 Sep 2001 21:12:12 -0400
- CC: libc-alpha at sources dot redhat dot com, gcc-patches at gcc dot gnu dot org
- References: <20010915181240.A21904@daikokuya.demon.co.uk>
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?