From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: make bootstrap: need moral support. :-( Date: Tue, 21 Feb 2006 00:33:18 +0200 Message-ID: <20060220223318.GA13290@flame.pc> References: <86k6bqrr2r.fsf@blue.stonehenge.com> <20060220205725.GC78518@flame.pc> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140500821 4340 80.91.229.2 (21 Feb 2006 05:47:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2006 05:47:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 21 06:47:00 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FBQMS-0007eh-P1 for ged-emacs-devel@m.gmane.org; Tue, 21 Feb 2006 06:46:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBQMR-0002lA-Vp for ged-emacs-devel@m.gmane.org; Tue, 21 Feb 2006 00:46:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FBJfB-00060I-GX for emacs-devel@gnu.org; Mon, 20 Feb 2006 17:37:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FBJf5-0005pZ-5p for emacs-devel@gnu.org; Mon, 20 Feb 2006 17:37:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBJbY-0001hm-2e for emacs-devel@gnu.org; Mon, 20 Feb 2006 17:34:04 -0500 Original-Received: from [62.1.205.36] (helo=igloo.linux.gr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FBJhf-0000zR-Al for emacs-devel@gnu.org; Mon, 20 Feb 2006 17:40:23 -0500 Original-Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k1KMXg3A022894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Feb 2006 00:33:48 +0200 Original-Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id k1KMXN4H013308; Tue, 21 Feb 2006 00:33:23 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id k1KMXItK013307; Tue, 21 Feb 2006 00:33:18 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-To: "Randal L. Schwartz" Content-Disposition: inline In-Reply-To: <20060220205725.GC78518@flame.pc> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.361, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.84, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50843 Archived-At: On 2006-02-20 22:57, Giorgos Keramidas wrote: > Yes. > > The malloc/realloc -> xmalloc/xrealloc change to src/regex.c adds a > conditional dependency on some of the allocators available in emacs/src/ > to lib-src files too. > > I'm currently building a snapshot with the following patch applied to > see if it fixes things: Actually, scratch that. The `etags.c' source file already has xrealloc() and xmalloc(), but they are static. The patch that fixes bootstrap for me here is much simpler :) %%% Index: emacs/lib-src/etags.c =================================================================== --- emacs/lib-src/etags.c (.../branches/gnu) (revision 26) +++ emacs/lib-src/etags.c (.../trunk) (revision 26) @@ -414,8 +414,8 @@ static void canonicalize_filename __P((char *)); static void linebuffer_init __P((linebuffer *)); static void linebuffer_setlen __P((linebuffer *, int)); -static PTR xmalloc __P((unsigned int)); -static PTR xrealloc __P((char *, unsigned int)); +PTR xmalloc __P((unsigned int)); +PTR xrealloc __P((char *, unsigned int)); static char searchar = '/'; /* use /.../ searches */ @@ -6864,7 +6864,7 @@ } /* Like malloc but get fatal error if memory is exhausted. */ -static PTR +PTR xmalloc (size) unsigned int size; { @@ -6874,7 +6874,7 @@ return result; } -static PTR +PTR xrealloc (ptr, size) char *ptr; unsigned int size; %%%