1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2008-08-15 06:30:43 +00:00
parent e4e2ef3975
commit 3f3a0fcc8e
2 changed files with 5 additions and 1 deletions

View file

@ -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.

2
vm.c
View file

@ -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);