diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-15 06:30:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-15 06:30:43 +0000 |
commit | 3f3a0fcc8e8fa2bfdf06efca7a11ddc88957d170 (patch) | |
tree | a8433538549455d31abdf88c7b9f67d99e84efcc /vm.c | |
parent | e4e2ef3975a1a14e0c360d54f7c8b5578af6dbb0 (diff) |
* vm.c (Init_VM): get rid of SEGV in a trace proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1801,7 +1801,7 @@ Init_VM(void) rb_undef_alloc_func(rb_cRubyVM); /* ::VM::FrozenCore */ - fcore = rb_module_new(); + fcore = rb_class_new(rb_cBasicObject); RBASIC(fcore)->flags = T_ICLASS; klass = rb_singleton_class(fcore); rb_define_method_id(klass, id_core_set_method_alias, m_core_set_method_alias, 3); |