Received: from list by monty-python.gnu.org with archive (Exim 4.30) id 1B5QOp-0003qD-BR for mharc-grub-devel@gnu.org; Mon, 22 Mar 2004 09:27:31 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5QOf-0003oG-Ec for grub-devel@gnu.org; Mon, 22 Mar 2004 09:27:21 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5QO5-0003ce-Qi for grub-devel@gnu.org; Mon, 22 Mar 2004 09:27:16 -0500 Received: from [62.21.238.74] (helo=pc-jeroen) by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.30) id 1B5QO5-0003bs-5a for grub-devel@gnu.org; Mon, 22 Mar 2004 09:26:45 -0500 Received: from jeroen by pc-jeroen with local (Exim 4.30) id 1B5QNy-0000Ic-Bz for grub-devel@gnu.org; Mon, 22 Mar 2004 15:26:38 +0100 Date: Mon, 22 Mar 2004 15:26:38 +0100 To: The development of GRUB 2 Message-ID: <20040322142638.GA1143@dekkers.cx> References: <40595AA3.6000800@ciam.ru> <200403211711.52377.okuji@enbug.org> <405EA1DD.7030606@ciam.ru> <200403221449.41600.okuji@enbug.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403221449.41600.okuji@enbug.org> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Jeroen Dekkers Subject: Re: GRUB2: *BSD and more patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 14:27:23 -0000 On Mon, Mar 22, 2004 at 02:49:41PM +0100, Yoshinori K. Okuji wrote: > On Monday 22 March 2004 09:20, Sergey Matveychuk wrote: > > @@ -194,7 +197,11 @@ pupa_memalign (pupa_size_t align, pupa_s > > { > > void *p; > > > > +#ifdef HAVE_MEMALIGN > > p = memalign (align, size); > > +#else > > + pupa_util_error ("memalign not available"); > > +#endif > > if (! p) > > pupa_util_error ("out of memory"); > > This segfaults if pupa_memalign is used actually. It must return a NULL > pointer if fails. It doesn't return, pupa_util_error() calls exit(). -- Jeroen Dekkers