ruby-changes:51382
From: ko1 <ko1@a...>
Date: Wed, 6 Jun 2018 17:34:46 +0900 (JST)
Subject: [ruby-changes:51382] ko1:r63588 (trunk): fix r63587 with temporal patch to pass the tests. please re-fix it.
ko1 2018-06-06 17:34:39 +0900 (Wed, 06 Jun 2018) New Revision: 63588 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63588 Log: fix r63587 with temporal patch to pass the tests. please re-fix it. Modified files: trunk/lib/net/protocol.rb Index: lib/net/protocol.rb =================================================================== --- lib/net/protocol.rb (revision 63587) +++ lib/net/protocol.rb (revision 63588) @@ -245,7 +245,7 @@ module Net # :nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/protocol.rb#L245 def write0(*strs) @debug_output << strs.map(&:dump).join if @debug_output - case len = @io.write_nonblock(*strs, exception: false) + case len = @io.write_nonblock(strs.join, exception: false) when Integer orig_len = len strs.each_with_index do |str, i| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/