зеркало из https://github.com/github/ruby.git
* 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:
Родитель
f4fd77903f
Коммит
301821bd45
|
@ -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>
|
Tue May 7 12:07:35 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* pack.c (swap32): Don't redefine it if it is already defined.
|
* 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]
|
# [ruby-dev:44189]
|
||||||
# http://bugs.ruby-lang.org/issues/5075
|
# http://bugs.ruby-lang.org/issues/5075
|
||||||
close_fds = false
|
close_fds = false
|
||||||
|
when /cygwin/
|
||||||
|
# Cygwin doesn't support fd passing.
|
||||||
|
# http://cygwin.com/ml/cygwin/2003-09/msg01808.html
|
||||||
|
close_fds = false
|
||||||
else
|
else
|
||||||
close_fds = nil
|
close_fds = nil
|
||||||
end
|
end
|
||||||
|
|
Загрузка…
Ссылка в новой задаче