1
0
Fork 0
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:
seki 2004-02-18 13:55:22 +00:00
parent 4e6c7c602a
commit 926a6fb194
2 changed files with 4 additions and 1 deletions

View file

@ -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>
* test/rinda/test_rinda.rb: improt test_rinda.rb

View file

@ -99,7 +99,6 @@ module DRb
end
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
end
end