Revision: 817 http://trac.macosforge.org/projects/ruby/changeset/817 Author: lsansonetti@apple.com Date: 2009-02-28 12:31:47 -0800 (Sat, 28 Feb 2009) Log Message: ----------- fixed a serious bug in the GC_WB() macro that would evaluate the second parameter twice Modified Paths: -------------- MacRuby/trunk/include/ruby/defines.h Modified: MacRuby/trunk/include/ruby/defines.h =================================================================== --- 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)
participants (1)
-
source_changes@macosforge.org