mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove O_NONBLOCK, thanks ay
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4e6c7c602a
commit
926a6fb194
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Feb 18 22:53:41 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* lib/drb/unix.rb: remove O_NONBLOCk, thanks \ay
|
||||||
|
|
||||||
Wed Feb 18 22:42:19 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
Wed Feb 18 22:42:19 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
* test/rinda/test_rinda.rb: improt test_rinda.rb
|
* test/rinda/test_rinda.rb: improt test_rinda.rb
|
||||||
|
|
|
@ -99,7 +99,6 @@ module DRb
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_sockopt(soc)
|
def set_sockopt(soc)
|
||||||
soc.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK) if defined? Fcntl::O_NONBLOCK
|
|
||||||
soc.fcntl(Fcntl::F_SETFL, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
|
soc.fcntl(Fcntl::F_SETFL, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue