diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-27 00:43:02 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-27 00:43:02 +0000 |
commit | 4fa20f42efff3731267deee73c0a4432fcad6769 (patch) | |
tree | dcba69f7f7f9dcca5d6ceb86bae9e3f10d99544b /enc | |
parent | cf3f29785a078b7d84998d21053db120f0b54683 (diff) | |
download | ruby-4fa20f42efff3731267deee73c0a4432fcad6769.tar.gz |
drb: avoid redundant fcntl call
Sockets are close-on-exec by default since Ruby 2.0, so it
is redundant to set it again.
* lib/drb/drb.rb (set_sockopt): remove redundant fcntl call
* lib/drb/unix.rb (set_sockopt): ditto
[ruby-core:69128] [Feature #11137]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
0 files changed, 0 insertions, 0 deletions