envutil.rb: connect caller to backtrace

* test/ruby/envutil.rb (assert_separately): append current caller
  to backtrace show proper method name.

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

* test/ruby/test_dir_m17n.rb (assert_raw_file_name): rename to
  show caller method in failure messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
localeinit.c: fallback filesystem encoding to UTF-8

* localeinit.c (Init_enc_set_filesystem_encoding): fallback to
  UTF-8 on Mac OS X, just for convenience sake.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
[DOC] Typo in change log [ci skip]
Although a mint flavored test suite sounds delicious,
I believe it's supposed to be minitest!


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_socket.rb: ignore interface without address

* test/socket/test_socket.rb (test_udp_server): ignore interface
  with no address assigned.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
eval_intern.h: suppress warning by gcc 4.6

* eval_intern.h (VAR_FROM_MEMORY, VAR_INITIALIZED): gcc 4.6 also
  seems to warn false maybe-uninitialized.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test/rake: avoid leaking threads

* test/rake/test_rake_multi_task.rb (teardown): clean up thread
  pool to avoid leaking threads.

* test/rake/test_rake_task_with_arguments.rb (teardown): ditto.

* test/rake/test_rake_thread_pool.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test/rake: avoid leaking threads

* test/rake/test_rake_task.rb (teardown): clean up thread pool to
  avoid leaking threads.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbtest.rb: avoid leaking threads

* test/drb/drbtest.rb (test_06_timeout): clean up worker threads
  to avoid leaking threads.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/openssl/ossl_ssl.c (ossl_ssl_close): Fix sync_close to work
  when SSL is not started.
  This fix the fd leak by test_https_proxy_authentication in
  test/net/http/test_https_proxy.rb.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/net/imap.rb (Net::IMAP#initialize): Close the opened socket when
  any exception occur.
  This fixes a fd leak by IMAPTest#test_imaps_post_connection_check
  which start_tls_session() raises an exception.




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
No need to kill a thread.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_io.rb (test_flush_in_finalizer1): Use
  ObjectSpace.each_object to close files.
  GC.start is not reliable.



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


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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/unixsocket.c (rsock_init_unixsock): Open a socket
  after path length check.
  This fixes a fd leak by TestSocket_UNIXSocket#test_too_long_path.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
include/ruby/ruby.h: hide Symbol internals

This is too new to be a compatibility problem.

* include/ruby/ruby.h: Hide Symbol internals.
  (struct RSymbol): moved to internal.h
  (RSYMBOL): ditto

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


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

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

* configure.in (RUBY_FUNC_ATTRIBUTE): show the attribute name in
  the message if the macro name is not given.  fix up r45608.

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