ruby-changes:24525
From: naruse <ko1@a...>
Date: Mon, 30 Jul 2012 15:03:25 +0900 (JST)
Subject: [ruby-changes:24525] naruse:r36576 (trunk): Suppress warnings.
naruse 2012-07-30 15:03:15 +0900 (Mon, 30 Jul 2012) New Revision: 36576 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36576 Log: Suppress warnings. Modified files: trunk/test/ruby/test_process.rb Index: test/ruby/test_process.rb =================================================================== --- test/ruby/test_process.rb (revision 36575) +++ test/ruby/test_process.rb (revision 36576) @@ -547,8 +547,8 @@ h = {} ios.length.times {|i| h[ios[i]] = ios[(i-1)%ios.length] } h2 = h.invert - rios = pipes.map {|r, w| r } - wios = pipes.map {|r, w| w } + _rios = pipes.map {|r, w| r } + wios = pipes.map {|r, w| w } child_wfds = wios.map {|w| h2[w].fileno } pid = spawn(RUBY, "-e", "[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h) @@ -563,8 +563,8 @@ h = {} ios.length.times {|i| h[ios[i]] = ios[(i+1)%ios.length] } h2 = h.invert - rios = pipes.map {|r, w| r } - wios = pipes.map {|r, w| w } + _rios = pipes.map {|r, w| r } + wios = pipes.map {|r, w| w } child_wfds = wios.map {|w| h2[w].fileno } pid = spawn(RUBY, "-e", "[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/