diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-04 05:28:50 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-04 05:28:50 +0000 |
commit | 4aaa5493f94965fb3bbf85628f59310ff1a7a8d4 (patch) | |
tree | 63e83ad6b21b9f45b5b1458156f273625a9301da /marshal.c | |
parent | dd9b0df999306d9f4106eb9aaad744b42a9cddc8 (diff) | |
download | ruby-4aaa5493f94965fb3bbf85628f59310ff1a7a8d4.tar.gz |
* eval.c (method_proc): should specify YIELD_FUNC_SVALUE.
[ruby-dev:21107]
* marshal.c (w_object): should not call w_extended for USRMARSHAL
dump. [ruby-dev:21106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r-- | marshal.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -484,7 +484,8 @@ w_object(obj, arg, limit) VALUE v; v = rb_funcall(obj, s_mdump, 0, 0); - w_class(TYPE_USRMARSHAL, obj, arg); + w_byte(TYPE_USRMARSHAL, arg); + w_unique(rb_class2name(CLASS_OF(obj)), arg); w_object(v, arg, limit); if (ivtbl) w_ivar(ivtbl, &c_arg); return; |