summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-04 05:28:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-04 05:28:50 +0000
commit4aaa5493f94965fb3bbf85628f59310ff1a7a8d4 (patch)
tree63e83ad6b21b9f45b5b1458156f273625a9301da /marshal.c
parentdd9b0df999306d9f4106eb9aaad744b42a9cddc8 (diff)
downloadruby-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index c5f68bd1e8..835783958d 100644
--- a/marshal.c
+++ b/marshal.c
@@ -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;