[macruby-changes] [3654] MacRuby/branches/icu/string.c
source_changes at macosforge.org
source_changes at macosforge.org
Sat Feb 27 22:01:01 PST 2010
Revision: 3654
http://trac.macosforge.org/projects/ruby/changeset/3654
Author: lsansonetti at apple.com
Date: 2010-02-27 22:00:59 -0800 (Sat, 27 Feb 2010)
Log Message:
-----------
fixed an assertion
Modified Paths:
--------------
MacRuby/branches/icu/string.c
Modified: MacRuby/branches/icu/string.c
===================================================================
--- MacRuby/branches/icu/string.c 2010-02-27 10:34:16 UTC (rev 3653)
+++ MacRuby/branches/icu/string.c 2010-02-28 06:00:59 UTC (rev 3654)
@@ -3665,7 +3665,7 @@
bstr_set_length(VALUE str, long len)
{
assert(IS_RSTR(str));
- assert(len < RSTR(str)->capacity_in_bytes);
+ assert(len <= RSTR(str)->capacity_in_bytes);
RSTR(str)->length_in_bytes = len;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100227/02cf3a85/attachment.html>
More information about the macruby-changes
mailing list