delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
Date: | Mon, 11 Feb 2002 21:29:57 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | Eric Rudd <rudd AT cyberoptics DOT com> |
Message-Id: | <5567-Mon11Feb2002212957+0200-eliz@is.elta.co.il> |
X-Mailer: | emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 |
CC: | djgpp-workers AT delorie DOT com |
In-reply-to: | <3C67E0CB.344A3981@cyberoptics.com> (message from Eric Rudd on |
Mon, 11 Feb 2002 09:18:35 -0600) | |
Subject: | Re: Alignment problem |
References: | <10202082038 DOT AA22206 AT clio DOT rice DOT edu> |
<7458-Sat09Feb2002090339+0200-eliz AT is DOT elta DOT co DOT il> <3C67E0CB DOT 344A3981 AT cyberoptics DOT com> | |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Mon, 11 Feb 2002 09:18:35 -0600 > From: Eric Rudd <rudd AT cyberoptics DOT com> > > Perhaps the first thing I should do is to figure out the format of the block > headers. Does anyone know what this is? There's a 4-byte header and a 4-byte trailer. When a block is allocated, the header records the size. When it's free, there's a pointer to the next free block there. (There's also the LSB that is used for something I don't recall, since pointers are aligned, and so their last bit is always zero.) See the definition of struct BLOCK for more details, and also the macros such as DATA used by malloc.c.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |