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

* thread.c (call_trace_proc): should return value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-11-12 10:47:46 +00:00
parent 647cd75166
commit fef818ec82
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Nov 12 19:47:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* thread.c (call_trace_proc): should return value.
Mon Nov 12 19:45:18 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* {bcc,win}32/Makefile.sub (miniruby): use $(COMMONOBJS) and $(DMYEXT)

View file

@ -2902,7 +2902,7 @@ call_trace_proc(VALUE args)
rb_thread_method_id_and_klass(GET_THREAD(), &id, &klass);
}
if (id == ID_ALLOCATOR)
return;
return Qnil;
if (klass) {
if (TYPE(klass) == T_ICLASS) {
klass = RBASIC(klass)->klass;