[前][次][番号順一覧][スレッド一覧]

ruby-changes:65137

From: Dimitris <ko1@a...>
Date: Thu, 4 Feb 2021 13:30:15 +0900 (JST)
Subject: [ruby-changes:65137] 46b5b51cc6 (master): [DOC] Fix typo in ext/socket/socket.c [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=46b5b51cc6

From 46b5b51cc64559b0e6e7e0f0e7173e17cd4681df Mon Sep 17 00:00:00 2001
From: Dimitris Zorbas <dimitrisplusplus@g...>
Date: Wed, 3 Feb 2021 22:48:28 +0000
Subject: [DOC] Fix typo in ext/socket/socket.c [ci skip]

---
 ext/socket/socket.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 5b6f4ab..bebddd9 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -330,7 +330,7 @@ rsock_sock_s_socketpair(int argc, VALUE *argv, VALUE klass) https://github.com/ruby/ruby/blob/trunk/ext/socket/socket.c#L330
  * * Errno::EOPNOTSUPP - the calling +socket+ is listening and cannot be connected
  * * Errno::EPROTOTYPE - the _sockaddr_ has a different type than the socket
  *   bound to the specified peer address
- * * Errno::ETIMEDOUT - the attempt to connect time out before a connection
+ * * Errno::ETIMEDOUT - the attempt to connect timed out before a connection
  *   was made.
  *
  * On unix-based systems if the address family of the calling +socket+ is
@@ -371,7 +371,7 @@ rsock_sock_s_socketpair(int argc, VALUE *argv, VALUE klass) https://github.com/ruby/ruby/blob/trunk/ext/socket/socket.c#L371
  * * Errno::EHOSTUNREACH - no route to the network is present
  * * Errno::ENOBUFS - no buffer space is available
  * * Errno::ENOTSOCK - the +socket+ argument does not refer to a socket
- * * Errno::ETIMEDOUT - the attempt to connect time out before a connection
+ * * Errno::ETIMEDOUT - the attempt to connect timed out before a connection
  *   was made.
  * * Errno::EWOULDBLOCK - the socket is marked as nonblocking and the
  *   connection cannot be completed immediately
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]