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 | ff6f9c6c3b08ac9c8c26a25fe1a2ac5abd9e24ee (patch) | |
| tree | a8433538549455d31abdf88c7b9f67d99e84efcc | |
| parent | 7eba1791c380ab66e81f7c70cbd89420f9c997d0 (diff) | |
| download | ruby-ff6f9c6c3b08ac9c8c26a25fe1a2ac5abd9e24ee.tar.gz ruby-ff6f9c6c3b08ac9c8c26a25fe1a2ac5abd9e24ee.tar.xz ruby-ff6f9c6c3b08ac9c8c26a25fe1a2ac5abd9e24ee.zip | |
* vm.c (Init_VM): get rid of SEGV in a trace proc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | vm.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Aug 15 15:30:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * vm.c (Init_VM): get rid of SEGV in a trace proc. + Fri Aug 15 09:33:48 2008 Tanaka Akira <akr@fsij.org> * transcode.c (conv_init): check empty name. @@ -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); |
