[macruby-changes] [3728] MacRuby/branches/icu/string.c
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 9 19:07:58 PST 2010
Revision: 3728
http://trac.macosforge.org/projects/ruby/changeset/3728
Author: lsansonetti at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100309/f0701b4c/attachment.html>
More information about the macruby-changes
mailing list