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

ruby-changes:47007

From: hsbt <ko1@a...>
Date: Tue, 20 Jun 2017 20:43:14 +0900 (JST)
Subject: [ruby-changes:47007] hsbt:r59122 (trunk): Fixed missing handling for frozen object at r59121.

hsbt	2017-06-20 20:43:05 +0900 (Tue, 20 Jun 2017)

  New Revision: 59122

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59122

  Log:
    Fixed missing handling for frozen object at r59121.

  Modified files:
    trunk/test/lib/leakchecker.rb
Index: test/lib/leakchecker.rb
===================================================================
--- test/lib/leakchecker.rb	(revision 59121)
+++ test/lib/leakchecker.rb	(revision 59122)
@@ -61,7 +61,7 @@ class LeakChecker https://github.com/ruby/ruby/blob/trunk/test/lib/leakchecker.rb#L61
         (h[fd] ||= []) << [io, autoclose, inspect]
       }
       fd_leaked.each {|fd|
-        str = ''
+        str = ''.dup
         if h[fd]
           str << ' :'
           h[fd].map {|io, autoclose, inspect|

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

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