Skip to content

Commit

Permalink
correct fcntl parameer
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
seki committed Dec 3, 2003
1 parent 59a8609 commit 4840d46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed Dec 3 19:38:36 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>

* lib/drb/drb.rb: correct fcntl parameter. [ruby-dev:22120]

Wed Dec 3 13:49:07 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>

* ext/tk/lib/tk.rb: 'format'==>'Kernel.format' (avoid override trouble)
Expand Down
2 changes: 1 addition & 1 deletion lib/drb/drb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ def alive?
def set_sockopt(soc) # :nodoc:
soc.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
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_SETFD, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
end
end

Expand Down

0 comments on commit 4840d46

Please sign in to comment.