[ruby-cvs:57793] normal:r50645 (trunk): drb: avoid redundant fcntl call

normal at ruby-lang.org normal at ruby-lang.org
Wed May 27 09:43:03 JST 2015


normal	2015-05-27 09:43:02 +0900 (Wed, 27 May 2015)

  New Revision: 50645

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50645

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/lib/drb/drb.rb
    trunk/lib/drb/unix.rb


More information about the ruby-cvs mailing list