mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/extconf.rb: Set close_fds false for Cygwin.
Cygwin doesn't support fd passing. This enables socket extension library cross-compilable by default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4fd77903f
commit
301821bd45
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue May 7 12:09:29 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/extconf.rb: Set close_fds false for Cygwin.
|
||||
Cygwin doesn't support fd passing.
|
||||
This enables socket extension library cross-compilable by default.
|
||||
|
||||
Tue May 7 12:07:35 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* pack.c (swap32): Don't redefine it if it is already defined.
|
||||
|
|
|
@ -253,6 +253,10 @@ def test_recvmsg_with_msg_peek_creates_fds(headers)
|
|||
# [ruby-dev:44189]
|
||||
# http://bugs.ruby-lang.org/issues/5075
|
||||
close_fds = false
|
||||
when /cygwin/
|
||||
# Cygwin doesn't support fd passing.
|
||||
# http://cygwin.com/ml/cygwin/2003-09/msg01808.html
|
||||
close_fds = false
|
||||
else
|
||||
close_fds = nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue