summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-02 11:06:40 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-02 11:06:40 +0000
commitfd8010fc0ae51c711d61652516afbd1a80f435a5 (patch)
treeb53b8a9dbce876a016ae1da7896d8eeb348ea900 /io.c
parent7b3948f0552b09ee51b885595fe495fd50000bdb (diff)
* io.c (rb_io_s_write, rb_io_s_binwrite): return!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 51f839cebd..f9fc3724f3 100644
--- a/io.c
+++ b/io.c
@@ -8471,7 +8471,7 @@ io_s_write(int argc, VALUE *argv, int binary)
static VALUE
rb_io_s_write(int argc, VALUE *argv, VALUE io)
{
- io_s_write(argc, argv, 0);
+ return io_s_write(argc, argv, 0);
}
/*
@@ -8492,7 +8492,7 @@ rb_io_s_write(int argc, VALUE *argv, VALUE io)
static VALUE
rb_io_s_binwrite(int argc, VALUE *argv, VALUE io)
{
- io_s_write(argc, argv, 1);
+ return io_s_write(argc, argv, 1);
}
struct copy_stream_struct {