[前][次][番号順一覧][スレッド一覧]

ruby-changes:33232

From: naruse <ko1@a...>
Date: Tue, 11 Mar 2014 10:25:24 +0900 (JST)
Subject: [ruby-changes:33232] naruse:r45311 (trunk): r45298 fix trivial bug

naruse	2014-03-11 10:25:20 +0900 (Tue, 11 Mar 2014)

  New Revision: 45311

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45311

  Log:
    r45298 fix trivial bug
    
    $initial_size must be a size, not a status

  Modified files:
    trunk/test/ruby/envutil.rb
Index: test/ruby/envutil.rb
===================================================================
--- test/ruby/envutil.rb	(revision 45310)
+++ test/ruby/envutil.rb	(revision 45311)
@@ -406,7 +406,8 @@ eom https://github.com/ruby/ruby/blob/trunk/test/ruby/envutil.rb#L406
         cmd = [
           'END {STDERR.puts '"#{token_dump}"'"FINAL=#{Memory::Status.new}"}',
           prepare,
-          'STDERR.puts('"#{token_dump}"'"START=#{$initial_size = Memory::Status.new}")',
+          'STDERR.puts('"#{token_dump}"'"START=#{$initial_status = Memory::Status.new}")',
+          '$initial_size = $initial_status.size',
           code,
           'GC.start',
         ].join("\n")

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]