* test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile)
  invocation.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
signal.c: revert part of r46100

* signal.c (check_stack_overflow): revert part of r46100, the
  previous condition was correct, and fix compilation error on
  other architecture linux.  [ruby-core:62746] [Bug #9862]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
configure.in: do not disable ucontext.h

* configure.in (ac_cv_func_{getcontext,setcontext}): do not
  disable ucontext.h entirely, but disable use of functions only.
  `ucontext_t` is necessary in the signal handler now.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/lib/minitest/unit.rb: Check tempfile leak for each test class.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_minitest_unit.rb: invoke by array form

* test/minitest/test_minitest_unit.rb (test_capture_subprocess_io):
  invoke by array form.  quoting is not portable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Avoid tempfile leaks using Tempfile.create instead of Tempfile.open.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/lib/minitest/unit.rb (MiniTest::Assertions#diff): Remove
  tempfiles.



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


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/lib/minitest/unit.rb: Show leaked tempfiles line-by-line.


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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Show leaked threads line-by-line.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/csv.rb: Reject nil as data source for CSV.new, patch by @Peeja.
  [Fixes GH-580] https://github.com/ruby/ruby/pull/580


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/lib/minitest/unit.rb: Show Finished threads line-by-line.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_features.rb: fix up r46123

* test/csv/test_features.rb: no longer `nil` is valid data source
  for `CSV.new`.  [GH-580]

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

* lib/optionparser.rb, lib/optparse.rb (OptParse): aliases.
  [ruby-core:62751] [Feature #9864]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
minitest/unit.rb: fix leaking tempfile

* test/lib/minitest/unit.rb (capture_subprocess_io): opened files
  can not be unlinked on Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
win32/Makefile.sub: copy enc/jis/props.h

* win32/Makefile.sub (enc/jis/props.h): nmake needs special rule
  to copy from the source directory, because it can't handle VPATH.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
pty.c: do nothing if terminated already

* ext/pty/pty.c (pty_detach_process): if the child process has
  terminated already, return immediately without starting a thread
  to detach it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test/thread: fix leaked threads

* test/thread/test_{queue,sync}.rb: join work threads not to leak
  threads.

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

* test/thread/test_{backtrace,beginendblock,proc,threadgroup}.rb:
  join work threads not to leak threads.

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