[svn:parrot] r43371 - branches/boehm_gc/src/gc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Sat Jan 2 14:34:11 UTC 2010


Author: mikehh
Date: Sat Jan  2 14:34:08 2010
New Revision: 43371
URL: https://trac.parrot.org/parrot/changeset/43371

Log:
fix codetest failures - there should be one space or a newline after a comma and unwrapped macro arguments

Modified:
   branches/boehm_gc/src/gc/alloc_memory.c

Modified: branches/boehm_gc/src/gc/alloc_memory.c
==============================================================================
--- branches/boehm_gc/src/gc/alloc_memory.c	Sat Jan  2 07:21:49 2010	(r43370)
+++ branches/boehm_gc/src/gc/alloc_memory.c	Sat Jan  2 14:34:08 2010	(r43371)
@@ -30,7 +30,7 @@
 #  define malloc GC_MALLOC
 #  define free(x) {}
 #  define realloc GC_REALLOC
-#  define calloc(s,n) GC_MALLOC(s*n)
+#  define calloc(s, n) GC_MALLOC((s)*(n))
 #endif
 
 PARROT_DOES_NOT_RETURN


More information about the parrot-commits mailing list