fixed a serious bug in the GC_WB() macro that would evaluate the second parameter twice
--- MacRuby/trunk/include/ruby/defines.h 2009-02-27 12:54:37 UTC (rev 816)
+++ MacRuby/trunk/include/ruby/defines.h 2009-02-28 20:31:47 UTC (rev 817)
@@ -302,7 +302,7 @@
*(void **)dst = nv; \
} \
else { \
- rb_objc_wb((void *)dst, (void *)newval); \
+ rb_objc_wb((void *)dst, (void *)nv); \
} \
} \
while (0)