aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 06:30:47 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 06:30:47 +0000
commit64e2af8ee1e14e6b9571172b276a55d7e53b3e63 (patch)
treea02905c782ffbe1d3112184111e5150ce6cb754e /io.c
parent4d5db2dd8d8419c7e894fbc96f18e3026e81ac7f (diff)
downloadruby-64e2af8ee1e14e6b9571172b276a55d7e53b3e63.tar.gz
Fix indent and comment [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index 7e82ba340a..876790ba32 100644
--- a/io.c
+++ b/io.c
@@ -1578,7 +1578,7 @@ io_binwritev(struct iovec *iov, int iovcnt, rb_io_t *fptr)
errno = EAGAIN;
}
if (rb_io_wait_writable(fptr->fd)) {
- rb_io_check_closed(fptr);
+ rb_io_check_closed(fptr);
goto retry;
}
@@ -1636,7 +1636,7 @@ io_writev(int argc, VALUE *argv, VALUE io)
io = GetWriteIO(io);
tmp = rb_io_check_io(io);
if (NIL_P(tmp)) {
- /* port is not IO, call writev method for it. */
+ /* port is not IO, call write method for it. */
return rb_funcallv(io, id_write, argc, argv);
}
io = tmp;
@@ -1662,7 +1662,7 @@ io_writev(int argc, VALUE *argv, VALUE io)
io = GetWriteIO(io);
tmp = rb_io_check_io(io);
if (NIL_P(tmp)) {
- /* port is not IO, call writev method for it. */
+ /* port is not IO, call write method for it. */
return rb_funcallv(io, id_write, argc, argv);
}
io = tmp;