[前][次][番号順一覧][スレッド一覧]

ruby-changes:48237

From: kazu <ko1@a...>
Date: Sun, 22 Oct 2017 15:30:51 +0900 (JST)
Subject: [ruby-changes:48237] kazu:r60352 (trunk): Fix indent and comment [ci skip]

kazu	2017-10-22 15:30:47 +0900 (Sun, 22 Oct 2017)

  New Revision: 60352

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60352

  Log:
    Fix indent and comment [ci skip]

  Modified files:
    trunk/io.c
Index: io.c
===================================================================
--- io.c	(revision 60351)
+++ io.c	(revision 60352)
@@ -1578,7 +1578,7 @@ io_binwritev(struct iovec *iov, int iovc https://github.com/ruby/ruby/blob/trunk/io.c#L1578
         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 i https://github.com/ruby/ruby/blob/trunk/io.c#L1636
     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 i https://github.com/ruby/ruby/blob/trunk/io.c#L1662
     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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]