[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make bootstrap: need moral support. :-(
From: |
Giorgos Keramidas |
Subject: |
Re: make bootstrap: need moral support. :-( |
Date: |
Tue, 21 Feb 2006 00:33:18 +0200 |
On 2006-02-20 22:57, Giorgos Keramidas <address@hidden> 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;
%%%
Re: make bootstrap: need moral support. :-(, Eric Hanchrow, 2006/02/20