win32.c: fix infinite recursion

* win32/win32.c: include "missing/nextafter.c" and address
  finite() and isnan() macros, to get rid of infinite recursion.

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

http://chkbuild002.hsbt.org/chkbuild/ruby-trunk/log/20140518T160015Z.fail.html.gz

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_etc.rb: omit unrunnable tests

* test/etc/test_etc.rb (test_sysconf, test_confstr, test_pathconf):
  define test cases only if corresponding constants are available.

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

* test/ruby/envutil.rb (assert_separately): fix missing `message`
  argument to FailDesc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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