eval.c: singleton class constants

* eval.c (rb_mod_s_constants): return its own constants for other
  than Module itself.  [ruby-core:59763] [Bug #9413]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-01-17

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
delegate.rb: keep special methods

* lib/delegate.rb (Delegator): keep source information methods
  which start and end with '__'.  [ruby-core:58572] [Bug #9155]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ChangeLog: fix ref

* ChangeLog: fix ML number and ticket number of r44630.
  [ruby-core:59718] [Bug #9403]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_rinda.rb: hungup investigation

* test/rinda/test_rinda.rb (test_do_reply): abort on exception to
  investigate sporadic hungups on rubyci.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-01-18

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
st.c: hash_pos

* st.c (hash_pos): extract mapping hash values to hash bins index.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
localeinit.c: codepage format

* localeinit.c (SIZEOF_CP_NAME, CP_FORMAT): extract to share
  codepage formatting code.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_rinda.rb: hungup investigation

* test/rinda/test_rinda.rb (with_timeout, wait_for): extract to
  investigate test_do_reply_local too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/open-uri.rb: Make proxy disabling working again.
  Fixed by Christophe Philemotte.   [ruby-core:59650] [Bug #9385]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/option.c: IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket
  option takes a byte on OpenBSD.
  Fixed by Jeremy Evans.  [ruby-core:59496] [Bug #9350]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
[DOC]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: Test O_CLOEXEC only once.
  Patch by Eric Wong.  [ruby-core:59419] [Feature #9328]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c (rb_update_max_fd): Return immediately if the given fd is small
  enough.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
  string.
  Patch by Ryan Brunner.  [ruby-core:58220] [Bug #9093]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket: Avoid unnecessary ppoll/select on Linux.
  Patch by Eric Wong.  [ruby-core:57950] [Bug #9039]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_comparable.rb: specify behavior for the different
  kind of exceptions rescued (or not) by Comparable#==.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-01-19

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compar.c (cmp_equal): warn for this release and still rescue
  standard exceptions for a nicer transition. See #7688.
  Partly reverts r44502.
* test/ruby/test_comparable.rb: adapt assertion to match new behavior.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
socket/option.c: socket option variations

* ext/socket/option.c (NUM2SOCKOPT, sockopt_value): extract to wrap
  socket option variations.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e