From e2dec40448524f842052c3826f0954be894c8429 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 1 Sep 2003 09:02:43 +0000 Subject: * parse.y (aref_args): forgot to call NEW_SPLAT(). reported by Dave Butcher. * eval.c (Init_Thread): protect thgroup_default. suggested by Guy Decoux in [ruby-talk:80623] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 1 + 1 file changed, 1 insertion(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 3765ae860..fff569208 100644 --- a/eval.c +++ b/eval.c @@ -10099,6 +10099,7 @@ Init_Thread() rb_define_method(cThGroup, "add", thgroup_add, 1); thgroup_default = rb_obj_alloc(cThGroup); rb_define_const(cThGroup, "Default", thgroup_default); + rb_global_variable(&thgroup_default); /* allocate main thread */ main_thread = rb_thread_alloc(rb_cThread); -- cgit