зеркало из https://github.com/github/ruby.git
* ext/socket/basicsocket.c: [DOC] typo (Errno::AGAIN -> Errno::EAGAIN)
* ext/socket/socket.c: ditto * ext/socket/tcpserver.c: ditto * ext/socket/udpsocket.c: ditto * ext/socket/unixserver.c: ditto * io.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
370cadcced
Коммит
3876d75585
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
Sun Jul 12 09:20:02 2015 Shota Fukumori <her@sorah.jp>
|
||||
|
||||
* ext/socket/basicsocket.c: [DOC] typo (Errno::AGAIN -> Errno::EAGAIN)
|
||||
|
||||
* ext/socket/socket.c: ditto
|
||||
|
||||
* ext/socket/tcpserver.c: ditto
|
||||
|
||||
* ext/socket/udpsocket.c: ditto
|
||||
|
||||
* ext/socket/unixserver.c: ditto
|
||||
|
||||
* io.c: ditto
|
||||
|
||||
Sun Jul 12 06:42:23 2015 ksss <co000ri@gmail.com>
|
||||
|
||||
* test/stringio/test_stringio.rb (test_sysread): add a test for
|
||||
|
|
|
@ -680,7 +680,7 @@ bsock_recv(int argc, VALUE *argv, VALUE sock)
|
|||
* BasicSocket#recv_nonblock may raise any error corresponding to recvfrom(2) failure,
|
||||
* including Errno::EWOULDBLOCK.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
|
||||
* it is extended by IO::WaitReadable.
|
||||
* So IO::WaitReadable can be used to rescue the exceptions for retrying recv_nonblock.
|
||||
*
|
||||
|
|
|
@ -868,7 +868,7 @@ sock_recvfrom(int argc, VALUE *argv, VALUE sock)
|
|||
* Socket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure,
|
||||
* including Errno::EWOULDBLOCK.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
|
||||
* it is extended by IO::WaitReadable.
|
||||
* So IO::WaitReadable can be used to rescue the exceptions for retrying recvfrom_nonblock.
|
||||
*
|
||||
|
@ -953,7 +953,7 @@ sock_accept(VALUE sock)
|
|||
* Socket#accept_nonblock may raise any error corresponding to accept(2) failure,
|
||||
* including Errno::EWOULDBLOCK.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK, Errno::AGAIN, Errno::ECONNABORTED or Errno::EPROTO,
|
||||
* If the exception is Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::ECONNABORTED or Errno::EPROTO,
|
||||
* it is extended by IO::WaitReadable.
|
||||
* So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
||||
*
|
||||
|
|
|
@ -89,7 +89,7 @@ tcp_accept(VALUE sock)
|
|||
* TCPServer#accept_nonblock may raise any error corresponding to accept(2) failure,
|
||||
* including Errno::EWOULDBLOCK.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK, Errno::AGAIN, Errno::ECONNABORTED, Errno::EPROTO,
|
||||
* If the exception is Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::ECONNABORTED, Errno::EPROTO,
|
||||
* it is extended by IO::WaitReadable.
|
||||
* So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
||||
*
|
||||
|
|
|
@ -231,7 +231,7 @@ udp_send(int argc, VALUE *argv, VALUE sock)
|
|||
* UDPSocket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure,
|
||||
* including Errno::EWOULDBLOCK.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
|
||||
* it is extended by IO::WaitReadable.
|
||||
* So IO::WaitReadable can be used to rescue the exceptions for retrying recvfrom_nonblock.
|
||||
*
|
||||
|
|
|
@ -82,7 +82,7 @@ unix_accept(VALUE sock)
|
|||
* UNIXServer#accept_nonblock may raise any error corresponding to accept(2) failure,
|
||||
* including Errno::EWOULDBLOCK.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK, Errno::AGAIN, Errno::ECONNABORTED or Errno::EPROTO,
|
||||
* If the exception is Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::ECONNABORTED or Errno::EPROTO,
|
||||
* it is extended by IO::WaitReadable.
|
||||
* So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
||||
*
|
||||
|
|
4
io.c
4
io.c
|
@ -2637,7 +2637,7 @@ io_readpartial(int argc, VALUE *argv, VALUE io)
|
|||
* It causes all errors the read(2) system call causes: Errno::EWOULDBLOCK, Errno::EINTR, etc.
|
||||
* The caller should care such errors.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
|
||||
* it is extended by IO::WaitReadable.
|
||||
* So IO::WaitReadable can be used to rescue the exceptions for retrying read_nonblock.
|
||||
*
|
||||
|
@ -2738,7 +2738,7 @@ io_write_nonblock(VALUE io, VALUE str, VALUE opts)
|
|||
* The result may also be smaller than string.length (partial write).
|
||||
* The caller should care such errors and partial write.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
|
||||
* it is extended by IO::WaitWritable.
|
||||
* So IO::WaitWritable can be used to rescue the exceptions for retrying write_nonblock.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче