Issue #1161 has been updated by Charlie Savage.


Sorry, reversed the patch.  It should be:

--- variable.old.c	2009-02-14 14:16:05 -0700
+++ variable.c	2009-02-14 14:20:44 -0700
@@ -484,7 +484,8 @@
     gvar->setter = setter?(gvar_setter_t *)setter:var_setter;
     gvar->marker = var_marker;
 
-    RB_GC_GUARD(tmp);
+    if (var)
+      RB_GC_GUARD(tmp);
 }
 
 void

----------------------------------------
http://redmine.ruby-lang.org/issues/show/1161

----------------------------------------
http://redmine.ruby-lang.org