aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-12 01:26:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-12 01:26:39 +0000
commit0128581cce1c1d251435d64bd84aa00475631470 (patch)
tree5ae0f572c97fb73380267d26de2180b994818dde /io.c
parent6a0284093ce1e2609a994d46fe4a71ff31cda4b3 (diff)
downloadruby-0128581cce1c1d251435d64bd84aa00475631470.tar.gz
io.c: fix typo and phrase [ci skip]
[Fix GH-1872] From: Leon M. George <leon@georgemail.eu> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files 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,
* <code>IO.select</code> notifies readability but
* <code>OpenSSL::SSL::SSLSocket</code> cannot decrypt a byte and
- * <code>OpenSSL::SSL::SSLSocket#readpartial</code> will blocks.
+ * <code>OpenSSL::SSL::SSLSocket#readpartial</code> 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 <code>IO.select</code>.
*
* The writability notified by select(2) doesn't show
- * how many bytes writable.
+ * how many bytes are writable.
* <code>IO#write</code> method blocks until given whole string is written.
* So, <code>IO#write(two or more bytes)</code> can block after writability is notified by <code>IO.select</code>.
* <code>IO#write_nonblock</code> is required to avoid the blocking.