* include/ruby/ruby.h: Hide Rational internal.
  (RRational): Moved to internal.h
  (RRATIONAL): Ditto.
  (RRATIONAL_SET_NUM): Moved to rational.c.
  (RRATIONAL_SET_DEN): Ditto.

* rational.c (rb_rational_num): New function.
  (rb_rational_den): Ditto.

* include/ruby/intern.h (rb_rational_num): Declared.
  (rb_rational_den): Ditto.

*  ext/bigdecimal/bigdecimal.c: Follow the above change.

* ext/date/date_core.c: Ditto.

  [ruby-core:60665] [Feature #9513]



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

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


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
io.c: buffer must be modifiable

* io.c (io_setstrbuf): always check if the buffer is modifiable.
  [ruby-core:62643] [Bug #9847]

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

* lib/mkmf.rb (configuration): add NULLCMD.

* lib/mkmf.rb (create_makefile): use NULLCMD macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enum.c: Enumerable#slice_after implemented.

* enumerator.c: Enumerator::Lazy#slice_after implemented.

  Requested by Tsuyoshi Sawada.  [ruby-core:58123] [Feature #9071]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: Check nextafter() availability.

* include/ruby/missing.h (nextafter): New optional declaration.

* missing/nextafter.c: New file.

* numeric.c: Float#next_float and Float#prev_float implemented.

   [ruby-core:62562] [Feature #9834]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/etc/etc.c: Etc.uname method implemented.

* ext/etc/extconf.rb: Check uname() function.

  [ruby-core:62139] [Feature #9770]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/etc/etc.c: Etc.sysconf, Etc.confstr and IO#pathconf implemented.

* ext/etc/extconf.rb: Check sysconf(), confstr() and fpathconf().

* ext/etc/mkconstants.rb: New file.

 [ruby-core:62600] [Feature #9842]



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


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/Makefile.sub: Add nextafter.obj to MISSING.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* missing/nextafter.c: Include ruby/missing.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Fix a dependency for etc.o.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
output more verbose to debug

following failure insists unexpected condition
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20140515T133301Z.diff.html.gz

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

* enum.c (sliceafter_ii): suppress unused-value warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
io.c: update ARGF examples

* io.c (argf_each_line, argf_inplace_mode_set): [DOC] Update ARGF
  documentation examples.  `ARGF.lines` has been deprecated in
  favor of `ARGF.each_line`.  [Fixes GH-615]

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

* win32/Makefile.sub (MISSING, CONFIG_H): msvcr120.dll provides
  nextafter() as well as other mathematic functions.  finite() and
  isnan() used in missing/nextafter.c are not by older runtimes.
  [Feature #9834]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
extmk.rb: discard empty Makefile

* ext/extmk.rb (extmake): discard empty Makefile which can be left
  accidentally.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
increase timeout 10 to 15 on test_LSHIFT_neary_long_max

http://chkbuild002.hsbt.org/chkbuild/ruby-trunk/log/20140517T160021Z.fail.html.gz
http://chkbuild002.hsbt.org/chkbuild/ruby-trunk/log/20140517T200036Z.fail.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
signal.c: check stack overflow by SP

* signal.c (check_stack_overflow): raise SystemStackError if SP
  register and fault address is in the same page or the next, on
  x86 Mac OS X.  [EXPERIMENTAL]

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