[3643] MacRuby/branches/icu/string.c
Revision: 3643 http://trac.macosforge.org/projects/ruby/changeset/3643 Author: lsansonetti@apple.com Date: 2010-02-26 19:12:52 -0800 (Fri, 26 Feb 2010) Log Message: ----------- fixed comparison of 2 empty strings Modified Paths: -------------- MacRuby/branches/icu/string.c Modified: MacRuby/branches/icu/string.c =================================================================== --- MacRuby/branches/icu/string.c 2010-02-27 02:41:34 UTC (rev 3642) +++ MacRuby/branches/icu/string.c 2010-02-27 03:12:52 UTC (rev 3643) @@ -835,7 +835,7 @@ if (self->length_in_bytes == 0) { if (str->length_in_bytes == 0) { // both strings are empty - goto bad_length; + return 0; } else { // only self is empty
participants (1)
-
source_changes@macosforge.org