Author: Armin Rigo <[email protected]>
Branch: copy-over-original2
Changeset: r444:1726fde1a4ff
Date: 2013-07-25 23:07 +0200
http://bitbucket.org/pypy/stmgc/changeset/1726fde1a4ff/
Log: Found the source of the bug
diff --git a/c4/test/support.py b/c4/test/support.py
--- a/c4/test/support.py
+++ b/c4/test/support.py
@@ -238,7 +238,8 @@
gcptr pseudoprebuilt(size_t size, int tid)
{
- gcptr x = calloc(1, size);
+ gcptr x = stm_malloc(size);
+ memset(x, 0, size);
x->h_tid = PREBUILT_FLAGS | tid;
x->h_revision = PREBUILT_REVISION;
return x;
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit