summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-27 09:25:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-27 09:25:54 +0000
commitc05e6a8cda4701d995d8e4b2390ee2b88b51e6d6 (patch)
tree0b06092c19b9aed6b0591346edb050e3376ce8bd /io.c
parenta8aa1e2127e6329e2f632a2296d3f36f1c6de2ac (diff)
process.c: try conversion at redirection
* io.c (rb_io_check_io): make public. * process.c (check_exec_redirect): try conversion to IO on redirect parameters. [ruby-core:44181] [Bug #6269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 91ab2d8c93..33b609e915 100644
--- a/io.c
+++ b/io.c
@@ -590,7 +590,7 @@ rb_io_get_io(VALUE io)
return rb_convert_type(io, T_FILE, "IO", "to_io");
}
-static VALUE
+VALUE
rb_io_check_io(VALUE io)
{
return rb_check_convert_type(io, T_FILE, "IO", "to_io");