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

ruby-changes:10077

From: akr <ko1@a...>
Date: Sat, 17 Jan 2009 14:52:34 +0900 (JST)
Subject: [ruby-changes:10077] Ruby:r21620 (trunk): rdoc update.

akr	2009-01-17 14:52:16 +0900 (Sat, 17 Jan 2009)

  New Revision: 21620

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21620

  Log:
    rdoc update.

  Modified files:
    trunk/ext/socket/raddrinfo.c

Index: ext/socket/raddrinfo.c
===================================================================
--- ext/socket/raddrinfo.c	(revision 21619)
+++ ext/socket/raddrinfo.c	(revision 21620)
@@ -1398,13 +1398,15 @@
     return addrinfo_list_new(node, service, family, socktype, protocol, flags);
 }
 
-
 /*
  * call-seq:
  *   AddrInfo.ip(host) => addrinfo
  *
  * returns an addrinfo object for IP address.
  *
+ * The port, socktype, protocol of the result is filled by zero.
+ * So, it is not appropriate to create a socket.
+ *
  *   AddrInfo.ip("localhost") #=> #<AddrInfo: 127.0.0.1 (localhost)>
  */
 static VALUE

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

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