delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/04/21/22:42:30

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Message-ID: <3CC345BE.C4665C0C@yahoo.com>
Date: Sun, 21 Apr 2002 19:05:34 -0400
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Namespace pollution
References: <10204142135 DOT AA16606 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com

Charles Sandmann wrote:
> 
> > > Date: Sun, 14 Apr 2002 19:31:23 +0100
> > > From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> > >
> > > Charles committed a patch to src/libc/ansi/stdlib/malloc.c (revision 1.12) a
> > > while ago that forces 8 byte alignment using brk.
> >
> > Any reason that change couldn't use __brk instead?
> 
> No, we just need to get the prototypes right.  A #define brk __brk at the top
> would fix it.

nmalloc uses sbrk, nothing unusual, and always forces 8 byte
alignment.  In fact it is controlled by a #define.  
-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


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