From 3876d755851fa2890326f73d2e8b6bc9d838d637 Mon Sep 17 00:00:00 2001 From: sorah Date: Sun, 12 Jul 2015 00:21:32 +0000 Subject: * 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 --- ext/socket/tcpserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/socket/tcpserver.c') diff --git a/ext/socket/tcpserver.c b/ext/socket/tcpserver.c index 578377b4f9..a38faf8368 100644 --- a/ext/socket/tcpserver.c +++ b/ext/socket/tcpserver.c @@ -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. * -- cgit v1.2.3