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] malloc.c fix for MALLOC_ALIGN_MASK tests.


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 â

Attachment: signature.asc
Description: OpenPGP digital signature


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