ruby-changes:51198
From: nobu <ko1@a...>
Date: Sat, 12 May 2018 10:26:44 +0900 (JST)
Subject: [ruby-changes:51198] nobu:r63405 (trunk): io.c: fix typo and phrase [ci skip]
nobu 2018-05-12 10:26:39 +0900 (Sat, 12 May 2018) New Revision: 63405 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63405 Log: io.c: fix typo and phrase [ci skip] [Fix GH-1872] From: Leon M. George <leon@g...> Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 63404) +++ io.c (revision 63405) @@ -9310,7 +9310,7 @@ rb_io_advise(int argc, VALUE *argv, VALU https://github.com/ruby/ruby/blob/trunk/io.c#L9310 * 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, VALU https://github.com/ruby/ruby/blob/trunk/io.c#L9333 * 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. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/