ruby-changes:2969
From: ko1@a...
Date: 22 Dec 2007 14:19:02 +0900
Subject: [ruby-changes:2969] ko1 - Ruby:r14460 (trunk): * bootstraptest/test_objectspace.rb: skip flozen string.
ko1 2007-12-22 14:18:52 +0900 (Sat, 22 Dec 2007) New Revision: 14460 Modified files: trunk/ChangeLog trunk/bootstraptest/test_objectspace.rb Log: * bootstraptest/test_objectspace.rb: skip flozen string. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14460&r2=14459 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_objectspace.rb?r1=14460&r2=14459 Index: ChangeLog =================================================================== --- ChangeLog (revision 14459) +++ ChangeLog (revision 14460) @@ -1,3 +1,7 @@ +Sat Dec 22 14:17:02 2007 Koichi Sasada <ko1@a...> + + * bootstraptest/test_objectspace.rb: skip flozen string. + Sat Dec 22 14:02:58 2007 Koichi Sasada <ko1@a...> * array.c (rb_ary_permutation): add volatile to avoid GC problem. Index: bootstraptest/test_objectspace.rb =================================================================== --- bootstraptest/test_objectspace.rb (revision 14459) +++ bootstraptest/test_objectspace.rb (revision 14460) @@ -17,7 +17,7 @@ ary.permutation(2) {|x| if x == [1,2] ObjectSpace.each_object(String) {|s| - s.clear if s.length == 40 || s.length == 80 + s.clear if s.frozen? && (s.length == 40 || s.length == 80) } end } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml