From 23666ac1c16e0ea51b990d4faa6581a5fad385ba Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 12 May 2018 01:26:39 +0000 Subject: [PATCH] io.c: fix typo and phrase [ci skip] [Fix GH-1872] From: Leon M. George git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io.c b/io.c index e5f3aef95d..3211146e82 100644 --- a/io.c +++ b/io.c @@ -9310,7 +9310,7 @@ rb_io_advise(int argc, VALUE *argv, VALUE io) * So, the remote side of SSL sends a partial record, * IO.select notifies readability but * OpenSSL::SSL::SSLSocket cannot decrypt a byte and - * OpenSSL::SSL::SSLSocket#readpartial will blocks. + * OpenSSL::SSL::SSLSocket#readpartial will block. * * Also, the remote side can request SSL renegotiation which forces * the local SSL engine to write some data. @@ -9333,7 +9333,7 @@ rb_io_advise(int argc, VALUE *argv, VALUE io) * However it is not the best way to use IO.select. * * The writability notified by select(2) doesn't show - * how many bytes writable. + * how many bytes are writable. * IO#write method blocks until given whole string is written. * So, IO#write(two or more bytes) can block after writability is notified by IO.select. * IO#write_nonblock is required to avoid the blocking.