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

mikehh at svn.parrot.org mikehh at svn.parrot.org
Wed Dec 30 19:48:15 UTC 2009


Author: mikehh
Date: Wed Dec 30 19:48:13 2009
New Revision: 43326
URL: https://trac.parrot.org/parrot/changeset/43326

Log:
fix codetest failure - 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	Wed Dec 30 17:01:02 2009	(r43325)
+++ branches/boehm_gc/src/gc/alloc_memory.c	Wed Dec 30 19:48:13 2009	(r43326)
@@ -29,7 +29,7 @@
 #  define malloc GC_MALLOC_UNCOLLECTABLE
 #  define free   GC_FREE
 #  define realloc GC_REALLOC
-#  define calloc(s,n) GC_MALLOC_UNCOLLECTABLE(s*n)
+#  define calloc(s, n) GC_MALLOC_UNCOLLECTABLE((s)*(n))
 #endif
 
 PARROT_DOES_NOT_RETURN


More information about the parrot-commits mailing list