ruby-cvs:22417
From: nobu ruby-lang.org
Date: Wed, 23 Jan 2008 15:04:14 +0900 (JST)
Subject: [ruby-cvs:22417] Ruby:r15180 (trunk): * string.c (str_make_independent): should set length.
nobu 2008-01-23 15:04:13 +0900 (Wed, 23 Jan 2008)
New Revision: 15180
Modified files:
trunk/ChangeLog
trunk/string.c
trunk/test/ruby/test_pack.rb
Log:
* string.c (str_make_independent): should set length.
* string.c (rb_str_associate): hide associated array from ObjectSpace.
* string.c (rb_str_associated): return associated array with freezing
instead of false. [ruby-dev:33282]
* string.c (rb_str_freeze): freeze associated array together.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_pack.rb?r1=15180&r2=15179&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=15180&r2=15179&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15180&r2=15179&diff_format=u