[uClibc] heap.h bug?

Dave Airlie airlied at skynet.ie
Mon Sep 15 00:30:11 UTC 2003


In libc/stdlib/malloc/heap.h

Shouldn't the HEAP_DECLARE_STATIC_FREE_AREA structure be aligned to
sizeof(double),

On my VAX port, I switched on malloc debugging and it stopped at the
first malloc saying the heap was misaligned (it was aligned on a 4 byte
not an 8 byte boundary, sorry I don't have a patch, I'm a few version
behind the top of tree and my tree is on my laptop at home..

Dave.


-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person




More information about the uClibc mailing list