[ruby-cvs:57667] normal:r50519 (trunk): lib/webrick/server.rb: avoid redundant fcntl call

normal at ruby-lang.org normal at ruby-lang.org
Sun May 17 14:59:10 JST 2015


normal	2015-05-17 14:59:08 +0900 (Sun, 17 May 2015)

  New Revision: 50519

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

  Log:
    lib/webrick/server.rb: avoid redundant fcntl call
    
    Sockets are close-on-exec by default since Ruby 2.0, so it
    is redundant to set it again.
    
    * lib/webrick/server.rb (accept_client): avoid redundant fcntl call
      [Feature #11137]

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/server.rb


More information about the ruby-cvs mailing list