delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/02/08/09:20:34

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Fri, 8 Feb 2002 09:20:32 -0500
Message-Id: <200202081420.g18EKWb06863@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
CC: rudd AT cyberoptics DOT com, djgpp-workers AT delorie DOT com
In-reply-to: <379-Fri08Feb2002101042+0200-eliz@is.elta.co.il>
Subject: Re: Alignment problem
References: <3C629769 DOT AEAFB611 AT cyberoptics DOT com> <379-Fri08Feb2002101042+0200-eliz AT is DOT elta DOT co DOT il>
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

> It sounds like malloc doesn't do that, though.  Can someone tell where
> in malloc is the code that should have produced aligned pointers?  Am
> I missing something?

It looks like it assumes sbrk() does that for it.  It does round the
requested size up to an 8 byte multiple.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019