ruby-changes:3295
From: ko1@a...
Date: 30 Dec 2007 04:22:27 +0900
Subject: [ruby-changes:3295] akr - Ruby:r14788 (trunk): use EWOULDBLOCK as an example in document.
akr 2007-12-30 04:22:14 +0900 (Sun, 30 Dec 2007) New Revision: 14788 Modified files: trunk/ext/socket/socket.c Log: use EWOULDBLOCK as an example in document. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/socket/socket.c?r1=14788&r2=14787 Index: ext/socket/socket.c =================================================================== --- ext/socket/socket.c (revision 14787) +++ ext/socket/socket.c (revision 14788) @@ -741,7 +741,7 @@ * to _recv_nonblock_ fails. * * BasicSocket#recv_nonblock may raise any error corresponding to recvfrom(2) failure, - * including Errno::EAGAIN. + * including Errno::EWOULDBLOCK. * * === See * * Socket#recvfrom @@ -1562,7 +1562,7 @@ * to TCPServer#accept_nonblock fails. * * TCPServer#accept_nonblock may raise any error corresponding to accept(2) failure, - * including Errno::EAGAIN. + * including Errno::EWOULDBLOCK. * * === See * * TCPServer#accept @@ -1853,7 +1853,7 @@ * to _recvfrom_nonblock_ fails. * * UDPSocket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure, - * including Errno::EAGAIN. + * including Errno::EWOULDBLOCK. * * === See * * Socket#recvfrom @@ -2126,7 +2126,7 @@ * to UNIXServer#accept_nonblock fails. * * UNIXServer#accept_nonblock may raise any error corresponding to accept(2) failure, - * including Errno::EAGAIN. + * including Errno::EWOULDBLOCK. * * === See * * UNIXServer#accept @@ -2867,7 +2867,7 @@ * to _recvfrom_nonblock_ fails. * * Socket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure, - * including Errno::EAGAIN. + * including Errno::EWOULDBLOCK. * * === See * * Socket#recvfrom @@ -2935,7 +2935,7 @@ * to _accept_nonblock_ fails. * * Socket#accept_nonblock may raise any error corresponding to accept(2) failure, - * including Errno::EAGAIN. + * including Errno::EWOULDBLOCK. * * === See * * Socket#accept -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml