Revision: 3654 http://trac.macosforge.org/projects/ruby/changeset/3654 Author: lsansonetti@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; }
participants (1)
-
source_changes@macosforge.org