[ruby-cvs:52248] nagachika:r45103 (ruby_2_0_0): merge revision(s) r45084: [Backport #9547]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Feb 22 13:17:52 JST 2014


nagachika	2014-02-22 13:17:51 +0900 (Sat, 22 Feb 2014)

  New Revision: 45103

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

  Log:
    merge revision(s) r45084: [Backport #9547]
    
    * ext/socket/init.c (wait_connectable): break if the socket is
      writable to avoid infinite loops on FreeBSD and other platforms
      which conforms to SUSv3.  This problem cannot be reproduced with
      loopback interfaces, so it's hard to write test code.
      rsock_connect() and wait_connectable() are overly complicated, so
      they should be refactored, but I commit this fix as a workaround
      for the release of Ruby 1.9.3 scheduled on Feb 24.
      [ruby-core:60940] [Bug #9547]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/ext/socket/init.c
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list