Am 24.03.2014 um 11:44 schrieb Ingo Weinhold <ingo_weinhold@xxxxxx>: >> But aligning it for mmap() is a good point - though we should use 8 instead >> of 4 I guess, since some platforms have 8 bytes as their natural alignment. > > mmap()ed data are always page aligned. And this really isn't relevant in this > case, because the alignment within the package file is completely irrelevant > to mmap()ing contained files. Yes, the start of the data is always page-aligned. What I meant is making contained data structures 8-byte aligned, like the start of the heap, the TOC, etc. -- Jonathan