This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
boehm-gc typo fix
- To: gcc at gcc dot gnu dot org, boehm at acm dot org
- Subject: boehm-gc typo fix
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Sun, 7 Jan 2001 00:02:29 +1100
2000-01-06 Fergus Henderson <fjh@cs.mu.oz.au>
* dbg_mlc.c (GC_debug_malloc_generic): fix an obvious
cut-and-paste error in the non-__STDC__ version of the
function declaration: s/GC_malloc_generic/GC_debug_malloc_generic/
----------
I haven't tested this;
I tried
cd boehm-gc
autoconf
sh configure
but that failed with
...
checking whether to enable maintainer-specific portions of Makefiles... no
configure: ./.././configure.host: No such file or directory
Nevertheless I'm sure it is correct. Probably the non-__STDC__ case
has not been tested. Someone with appropriate access should commit
this fix under the "fix for obvious bug" rule.
----------
Index: dbg_mlc.c
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/dbg_mlc.c,v
retrieving revision 1.6
diff -u -d -u -r1.6 dbg_mlc.c
--- dbg_mlc.c 2000/05/07 00:43:49 1.6
+++ dbg_mlc.c 2001/01/06 12:57:12
@@ -336,7 +336,7 @@
# ifdef __STDC__
GC_PTR GC_debug_generic_malloc(size_t lb, int k, GC_EXTRA_PARAMS)
# else
- GC_PTR GC_debug_malloc(lb, k, s, i)
+ GC_PTR GC_debug_generic_malloc(lb, k, s, i)
size_t lb;
int k;
char * s;
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.