aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* signal: remove window for SignalException on IGNOREnormal2014-05-282-1/+20
| | | | | | | | | * signal.c (signal_exec): ignore immediate cmd for SIG_IGN * signal.c (trap_handler): set cmd to true for SIG_IGN * signal.c (trap): handle nil and true values for oldcmd [Bug #9835] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Tempfile#close!.akr2014-05-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#inspect): Show "(closed)" if the tempfileakr2014-05-272-1/+10
| | | | | | | | is closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb: Use Tempfile#close! instead ofakr2014-05-275-9/+18
| | | | | | | | | | | | Tempfile#unlink to close file descriptors. * test/openssl/test_config.rb: Ditto. * test/ruby/test_io.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Avoid a shadowing warning.akr2014-05-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-05-28svn2014-05-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (transfercmd): Close TCP server socket even if anakr2014-05-272-14/+22
| | | | | | | | exception occur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb: Use Tempfile#close(true) instead of Tempfile#unlinkakr2014-05-273-5/+10
| | | | | | | | to close file descriptors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parallel.rb: do not split messagesnobu2014-05-271-1/+2
| | | | | | | * test/lib/test/unit/parallel.rb (Test::Unit::Worker#_run_suite): get rid of splitting leak checking messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: refine error messagenobu2014-05-273-0/+24
| | | | | | | * parse.y (parser_number_literal_suffix): refine error message for extra dot and digits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml: Avoid fd leaks.akr2014-05-2711-113/+142
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_document.rb: Indent.kou2014-05-272-187/+191
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_document.rb: Wrap by REXMLTests module.kou2014-05-272-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_encoding_2.rb: Remove a needless file.kou2014-05-272-59/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_contrib.rb: Indent.kou2014-05-2736-4966/+4970
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ifaddr.c (ifaddr_inspect_flags): support IFF_SIMPLEX.naruse2014-05-272-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use Socket.getifaddrs to show interface names and so onnaruse2014-05-271-7/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/: Use REXMLTests as wrapping module for REXML tests.kou2014-05-2740-39/+47
| | | | | | | | | | I avoid using the same module for library in test because it provides "include REXML" environment in test. Normally, users don't use REXML on "include REXML" environment. So I don't want to write tests on "include REXML" environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_comment.rb: Remove needless REXML module wrapping.kou2014-05-272-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pkcs7.rb: Fix inverted expected and actual values.kou2014-05-272-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_flush_in_finalizer1): some opened fds areusa2014-05-272-2/+8
| | | | | | | remain before GC, so unlink the tempfile is failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb: unlink temporary file explicitly.usa2014-05-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wrap REXML test classes by REXML module.akr2014-05-2739-3/+78
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_autoclose_p): Don't raise on frozen IO.akr2014-05-274-8/+21
| | | | | | | | * test/lib/minitest/unit.rb: IO#autoclose? may raise IOError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pair.rb: Modify TestSSL#test_read_and_writehsbt2014-05-273-4/+18
| | | | | | | to handle partial sysreads. [Bug #7398][ruby-core:49563] * test/openssl/test_ssl.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-05-271-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pkcs7.rb: Add tests for PKCS7#type= and add_data.hsbt2014-05-272-0/+146
| | | | | | [Feature #7399][ruby-core:49565] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_hmac.rb (test_binary_update): Added Test forhsbt2014-05-272-0/+14
| | | | | | HMAC signing with UTF-8 String. [Bug #7512][ruby-core:50559] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/runner.rb: fixed randomly test failure.hsbt2014-05-272-0/+6
| | | | | | [Bug #6573][ruby-core:45563] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_timeout.rb (test_timeout): inverted test condition.hsbt2014-05-272-4/+9
| | | | | | [Bug #8523] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/minitest/unit.rb: Show leaked file descriptors.akr2014-05-272-0/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: no error on frozen IOnobu2014-05-273-3/+18
| | | | | | | * io.c (rb_io_fileno, rb_io_inspect): non-modification does not error on frozen IO. [ruby-dev:48241] [Bug #9865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-05-27svn2014-05-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def: fix typonobu2014-05-262-1/+6
| | | | | | | * insns.def (defineclass): fix typo in the instruction comment. [fix GH-618] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Tempfile.create instead of Tempfile.new.akr2014-05-261-25/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: reduce error messagesnobu2014-05-261-0/+3
| | | | | | * test/lib/test/unit.rb (non_options): reduce same error messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext_conf_builder.rb: fix tempfile leaknobu2014-05-261-1/+1
| | | | | | | * lib/rubygems/ext/ext_conf_builder.rb (build): ensure to remove temporary siteconf script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rdoc: avoid tempfile leaksnobu2014-05-263-6/+6
| | | | | | | | | * test/rubygems/test_gem_package.rb: avoid tempfile leaks by using `Tempfile.create` instead of `Tempfile.open`. * test/rubygems/test_gem_request_set.rb: ditto. * test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rubygems: remove tempfilesnobu2014-05-264-1/+19
| | | | | | | | | | * test/rubygems/test_gem_package_tar_header.rb: remove tempfiles. * test/rubygems/test_gem_package_tar_reader.rb: ditto. * test/rubygems/test_gem_package_tar_reader_entry.rb (teardown): ditto. * test/rubygems/test_gem_package_tar_writer.rb (teardown): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rdoc: avoid tempfile leaksnobu2014-05-263-5/+5
| | | | | | | | | | | | * test/rdoc/test_rdoc_parser.rb (test_class_for_forbidden): avoid tempfile leaks by using `Tempfile.create` instead of `Tempfile.open`. * test/rdoc/test_rdoc_rd_block_parser.rb (test_parse_include_subtree): ditto. * test/rdoc/test_rdoc_rdoc.rb (test_parse_file_encoding): ditto. * test/rdoc/test_rdoc_rdoc.rb (test_parse_file_forbidden): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rdoc: remove tempfilesnobu2014-05-268-8/+14
| | | | | | | | | | | | | * test/rdoc/test_rdoc_encoding.rb (teardown): remove tempfiles. * test/rdoc/test_rdoc_markup_pre_process.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_c.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_changelog.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_markdown.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_rd.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_ruby.rb (teardown): ditto. * test/rdoc/test_rdoc_parser_simple.rb (teardown): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos [ci skip]kazu2014-05-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rinda.rb: revert stop_servicenobu2014-05-261-1/+0
| | | | | | | | * test/rinda/test_rinda.rb (test_take_bug_8215): revert `stop_service` for the time being. need to reset `current_server` to let test/drb work, probably. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rinda.rb: fix leaked threadsnobu2014-05-261-4/+24
| | | | | | * test/rinda/test_rinda.rb: join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_monitor.rb: fix leaked threadsnobu2014-05-261-0/+3
| | | | | | | * test/monitor/test_monitor.rb (test_killed_thread_in_synchronize): join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: inspect locationnobu2014-05-261-1/+13
| | | | | | * thread.c (rb_thread_inspect): show the location of the block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file.rb: skip the test of atime on Windows, becauseusa2014-05-262-0/+8
| | | | | | | | | Windows delays updating atime about 1 hour. see more details: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724290%28v=vs.85%29.aspx git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: preserve encodingnobu2014-05-262-2/+9
| | | | | | | * thread.c (rb_thread_inspect): preserve encoding of the class name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_imap.rb: fix leaked threadsnobu2014-05-261-12/+25
| | | | | | | * test/net/imap/test_imap.rb (imaps_test): join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_http.rb: fix leaked threadsnobu2014-05-261-0/+4
| | | | | | | * test/net/http/test_http.rb (test_timeout_during_HTTP_session): join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e