This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

boehm-gc typo fix


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]