[macruby-changes] [2292] MacRuby/trunk/string.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 11 19:29:42 PDT 2009


Revision: 2292
          http://trac.macosforge.org/projects/ruby/changeset/2292
Author:   lsansonetti at apple.com
Date:     2009-08-11 19:29:42 -0700 (Tue, 11 Aug 2009)
Log Message:
-----------
let's try to live with this change, it seems good so far

Modified Paths:
--------------
    MacRuby/trunk/string.c

Modified: MacRuby/trunk/string.c
===================================================================
--- MacRuby/trunk/string.c	2009-08-12 02:29:21 UTC (rev 2291)
+++ MacRuby/trunk/string.c	2009-08-12 02:29:42 UTC (rev 2292)
@@ -313,10 +313,7 @@
 {
     VALUE dup;
 
-#if 0
-    if (RSTRING_LEN(str) == 0) {
-	return str_alloc(0);
-    }
+#if 1
     dup = (VALUE)CFStringCreateMutableCopy(NULL, 0, (CFStringRef)str);
     CFMakeCollectable((CFTypeRef)dup);
 #else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090811/808ac762/attachment.html>


More information about the macruby-changes mailing list