[PATCH] malloc.c fix for MALLOC_ALIGN_MASK tests.

Ulrich Drepper drepper@redhat.com
Thu Sep 15 17:31:00 GMT 2005


Peter Bergner wrote:
> It seems there are a few other locations where we are doing that which
> the following patch fixes up.

Look at the definition of mem2chunk.  It doesn't change the alignment.
MALLOC_ALIGNMENT is 2*SIZE_SZ and just subtracts 2*SIZE_SZ.  So, state
what your problem with the existing code is.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050915/313f25ac/attachment.sig>


More information about the Libc-alpha mailing list