ruby-changes:28643
From: akr <ko1@a...>
Date: Mon, 13 May 2013 21:51:50 +0900 (JST)
Subject: [ruby-changes:28643] akr:r40695 (trunk): * ext/socket/extconf.rb: Check socketpair again.
akr 2013-05-13 21:51:38 +0900 (Mon, 13 May 2013) New Revision: 40695 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40695 Log: * ext/socket/extconf.rb: Check socketpair again. It is required on Unix. Modified files: trunk/ChangeLog trunk/ext/socket/extconf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 40694) +++ ChangeLog (revision 40695) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon May 13 21:49:17 2013 Tanaka Akira <akr@f...> + + * ext/socket/extconf.rb: Check socketpair again. + It is required on Unix. + Mon May 13 21:20:32 2013 NAKAMURA Usaku <usa@r...> * win32/win32.c (getipaddrs): use alternamtive interface name if Index: ext/socket/extconf.rb =================================================================== --- ext/socket/extconf.rb (revision 40694) +++ ext/socket/extconf.rb (revision 40695) @@ -426,6 +426,7 @@ EOF https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L426 have_func("hsterror", headers) have_func('getipnodebyname("", 0, 0, (int *)0)', headers) # RFC 2553 have_func('gethostbyname2("", 0)', headers) # RFC 2133 + have_func("socketpair(0, 0, 0, 0)", headers) unless have_func("gethostname((char *)0, 0)", headers) have_func("uname((struct utsname *)NULL)", headers) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/