[ruby-cvs:61199] nagachika:r54038 (ruby_2_2): merge revision(s) 52605, 53231, 53244: [Backport #11854]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Mar 9 03:49:52 JST 2016


nagachika	2016-03-09 03:49:52 +0900 (Wed, 09 Mar 2016)

  New Revision: 54038

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

  Log:
    merge revision(s) 52605,53231,53244: [Backport #11854]
    
    init.c: is_socket
    
    * ext/socket/init.c (is_socket): extract predicate to see if the
      given fd is a socket.
    * ext/socket/init.c (rsock_init_sock): check FD after validating
    
    * test/socket/test_basicsocket.rb (test_for_fd): new
      [ruby-core:72418] [Bug #11854]

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/ext/socket/init.c
    branches/ruby_2_2/test/socket/test_basicsocket.rb
    branches/ruby_2_2/version.h


More information about the ruby-cvs mailing list