summaryrefslogtreecommitdiff
path: root/lib/drb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-19 05:40:29 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-19 05:40:29 +0000
commit0ac2587d0942d57d52df2d777caca06062454197 (patch)
tree2db0d878d2a117fc616d17682e8116c23eaff2b0 /lib/drb
parentc95748763ddd25b20a380b3ec28ad870bcf8f48b (diff)
merge revision(s) 33611:
* lib/webrick/utils.rb: fix fcntl call. * lib/drb/unix.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb')
-rw-r--r--lib/drb/unix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/unix.rb b/lib/drb/unix.rb
index 549ff8cf55..6de5052451 100644
--- a/lib/drb/unix.rb
+++ b/lib/drb/unix.rb
@@ -100,7 +100,7 @@ module DRb
end
def set_sockopt(soc)
- 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