summaryrefslogtreecommitdiffstats
path: root/marshal.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 11:59:58 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 11:59:58 +0000
commit9aec07b9c559bcefd676fb33d2575379b2023acd (patch)
tree67856fc3c370f7efceadceb0d00d1fcfa5272e9b /marshal.c
parent420da2ab77edcfe243e340d1af9005ebb1a135c9 (diff)
downloadruby-9aec07b9c559bcefd676fb33d2575379b2023acd.tar.gz
ruby-9aec07b9c559bcefd676fb33d2575379b2023acd.tar.xz
ruby-9aec07b9c559bcefd676fb33d2575379b2023acd.zip
merge revision(s) 19653:
* marshal.c (marshal_dump): fixed for check_dump_arg. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21851 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 253b78a99..235a07652 100644
--- a/marshal.c
+++ b/marshal.c
@@ -790,7 +790,7 @@ marshal_dump(argc, argv)
arg.dest = port;
if (rb_respond_to(port, s_binmode)) {
rb_funcall2(port, s_binmode, 0, 0);
- check_dump_arg(&arg, s_dump_data);
+ check_dump_arg(&arg, s_binmode);
}
}
else {