From 979f006b9e63cc787551d98b9bea9e94d61744de Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 30 May 2003 16:08:03 +0000 Subject: * io.c (rb_f_syscall): type dispatch should be based on rb_check_string_type(), not FIXNUM_P(), because values may be a bignum. [ruby-talk:72257] * eval.c (rb_call0): should pass the current klass value to block_invoke, which may be called via "super". [ruby-core:01077] * eval.c (block_invoke): now takes 4th argument "klass". * eval.c (block_alloc): should propagate BLOCK_PROC to ruby_block. * marshal.c (r_object0): should not use "yield" method, use "call" instead. (ruby-bugs-ja PR#476) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- marshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'marshal.c') diff --git a/marshal.c b/marshal.c index a7800a9887..a0c4680a1e 100644 --- a/marshal.c +++ b/marshal.c @@ -1248,7 +1248,7 @@ r_object0(arg, proc) break; } if (proc) { - rb_funcall(proc, rb_intern("yield"), 1, v); + rb_funcall(proc, rb_intern("call"), 1, v); } return v; } -- cgit v1.2.3