ruby-changes:46108
From: nagachika <ko1@a...>
Date: Tue, 28 Mar 2017 01:56:09 +0900 (JST)
Subject: [ruby-changes:46108] nagachika:r58179 (ruby_2_3): merge revision(s) 57589: [Backport #13205]
nagachika 2017-03-28 01:56:03 +0900 (Tue, 28 Mar 2017) New Revision: 58179 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58179 Log: merge revision(s) 57589: [Backport #13205] parallel.rb: fix intervention * test/lib/test/unit/parallel.rb (_report): send a response and a newline atomically, to get rid of intervention with "p" which runs in a separate thread. Modified directories: branches/ruby_2_3/ Modified files: branches/ruby_2_3/test/lib/test/unit/parallel.rb branches/ruby_2_3/version.h Index: ruby_2_3/test/lib/test/unit/parallel.rb =================================================================== --- ruby_2_3/test/lib/test/unit/parallel.rb (revision 58178) +++ ruby_2_3/test/lib/test/unit/parallel.rb (revision 58179) @@ -152,8 +152,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/ruby_2_3/test/lib/test/unit/parallel.rb#L152 end def _report(res, *args) # :nodoc: - res = "#{res} #{args.pack("m0")}" unless args.empty? - @stdout.puts(res) + @stdout.write(args.empty? ? "#{res}\n" : "#{res} #{args.pack("m0")}\n") end def puke(klass, meth, e) # :nodoc: Index: ruby_2_3/version.h =================================================================== --- ruby_2_3/version.h (revision 58178) +++ ruby_2_3/version.h (revision 58179) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1 #define RUBY_VERSION "2.3.3" #define RUBY_RELEASE_DATE "2017-03-28" -#define RUBY_PATCHLEVEL 288 +#define RUBY_PATCHLEVEL 289 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 Property changes on: ruby_2_3 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r57589 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/