path: root/io.c
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-12 01:26:39 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-12 01:26:39 (GMT)
commit23666ac1c16e0ea51b990d4faa6581a5fad385ba (patch)
tree5ae0f572c97fb73380267d26de2180b994818dde /io.c
parent610c6ba5d286ac91b81e536a0d94d28780fa9a83 (diff)
io.c: fix typo and phrase [ci skip]
[Fix GH-1872] From: Leon M. George <> git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index e5f3aef..3211146 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></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></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></code>.
* <code>IO#write_nonblock</code> is required to avoid the blocking.