1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix indent and comment [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-10-22 06:30:47 +00:00
parent 6e3ff2ecd9
commit d9cfbb3cad

6
io.c
View file

@ -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;