10 Mar
2010
10 Mar
'10
3:07 a.m.
Revision: 3728 http://trac.macosforge.org/projects/ruby/changeset/3728 Author: lsansonetti@apple.com Date: 2010-03-09 19:07:55 -0800 (Tue, 09 Mar 2010) Log Message: ----------- make rb_bstr_resize set the length too Modified Paths: -------------- MacRuby/branches/icu/string.c Modified: MacRuby/branches/icu/string.c =================================================================== --- MacRuby/branches/icu/string.c 2010-03-10 02:28:39 UTC (rev 3727) +++ MacRuby/branches/icu/string.c 2010-03-10 03:07:55 UTC (rev 3728) @@ -5469,6 +5469,7 @@ { assert(IS_BSTR(str)); str_resize_bytes(RSTR(str), capa); + RSTR(str)->length_in_bytes = capa; } void