summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-30 16:08:03 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-30 16:08:03 +0000
commit979f006b9e63cc787551d98b9bea9e94d61744de (patch)
tree8f8629ea50ad01c553bf56231af0b1f8a5d17287 /marshal.c
parent045eb9773e37dbe31c5ff595d380beb71ac62863 (diff)
* 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
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index a7800a9..a0c4680 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;
}