ruby-changes:10923
From: akr <ko1@a...>
Date: Sun, 22 Feb 2009 13:06:20 +0900 (JST)
Subject: [ruby-changes:10923] Ruby:r22499 (trunk): rdoc update.
akr 2009-02-22 13:06:15 +0900 (Sun, 22 Feb 2009) New Revision: 22499 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22499 Log: rdoc update. Modified files: trunk/ext/socket/ancdata.c Index: ext/socket/ancdata.c =================================================================== --- ext/socket/ancdata.c (revision 22498) +++ ext/socket/ancdata.c (revision 22499) @@ -184,7 +184,7 @@ * * s1, s2 = UNIXSocket.pair * p s1 #=> #<UNIXSocket:fd 3> - * s1.sendmsg "standard IOs", 0, nil, [:SOCKET, :RIGHTS, [0,s1.fileno].pack("ii")] + * s1.sendmsg "stdin and a socket", 0, nil, [:SOCKET, :RIGHTS, [0,s1.fileno].pack("ii")] * _, _, _, ctl = s2.recvmsg * p ctl.unix_rights #=> [#<IO:fd 6>, #<Socket:fd 7>] * p File.identical?(STDIN, ctl.unix_rights[0]) #=> true -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/