* bin/testrb: Removed. Forgot to remove in r45971.
  [Feature #9711] [ruby-core:62620]

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

* string.c (rb_str_index): constify local pointer variables.

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

* string.c (rb_pat_search): advance by byte offset but not by char
  offset.  [ruby-core:62669] [Bug #9849]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
etc.c: Etc.uname on Windows

* ext/etc/etc.c (etc_uname): add support for Windows using
  GetVersionExW(), GetSystemInfo(), and GetComputerNameExW() with
  `ComputerNameDnsHostname`.  [Feature #9842]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/dbm/test_dbm.rb: Use Etc.uname.

* test/gdbm/test_gdbm.rb: Ditto.



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


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/option.c (inspect_tcp_info): New function to inspect struct tcp_info.
  (sockopt_inspect): Use inspect_tcp_info.

* ext/socket/extconf.rb: Check tcp_info related things.

* ext/socket/rubysocket.h: Include netinet/tcp_fsm.h if available.



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

* ext/etc/etc.c (etc_uname): call with same first parameters.

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

* ext/etc/etc.c (etc_uname): fix for old VC.

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

* ext/etc/etc.c (etc_uname): fix typo, `len` with `plen`, and an
  extra semicolon.

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/option.c (inspect_tcp_info): Permit longer data.  (glibc
  2.7 adds tcpi_rcv_rtt, tcpi_rcv_space and tcpi_total_retrans to
  struct tcp_info.)



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/extconf.rb: Don't check fields of struct tcp_info if the
  structure is not available.


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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
id.def: predefine conversion method IDs

* defs/id.def: predefine conversion method name IDs.

* object.c (conv_method_names): consitify with predefined IDs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
show progress of rdoc parsing to prevent timeout on chkbuild

http://c64b.rubyci.org/~chkbuild/ruby-trunk/log/20140520T030303Z.fail.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
more insrease timeout of test_LSHIFT_neary_long_max

http://chkbuild002.hsbt.org/chkbuild/ruby-trunk/log/20140520T060016Z.fail.html.gz

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

* array.c (rb_ary_equal), hash.c (hash_equal): use predefined IDs,
  `to_ary` and `to_hash` respectively.

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

* defs/id.def: predefine `to_i` as well as `to_int`.

* numeric.c (id_to_i): use predefined `idTo_i`.

* object.c (conv_method_names): add `to_i` ID.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_dir.rb: added testcase of double slash path.

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