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

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 23 11:57:15 PDT 2009


Revision: 2622
          http://trac.macosforge.org/projects/ruby/changeset/2622
Author:   lsansonetti at apple.com
Date:     2009-09-23 11:57:14 -0700 (Wed, 23 Sep 2009)
Log Message:
-----------
revert a fix that breaks mkmf.rb

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

Modified: MacRuby/trunk/string.c
===================================================================
--- MacRuby/trunk/string.c	2009-09-23 12:40:47 UTC (rev 2621)
+++ MacRuby/trunk/string.c	2009-09-23 18:57:14 UTC (rev 2622)
@@ -2155,7 +2155,9 @@
 static VALUE
 rb_str_gsub_bang(VALUE str, SEL sel, int argc, VALUE *argv)
 {
-    rb_str_modify(str);
+    // XXX This rb_str_modify() call is disabled because it breaks mkmf.rb for
+    // a reason, must investigate.
+    //rb_str_modify(str);
     return str_gsub(sel, argc, argv, str, true);
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090923/42b5ac41/attachment.html>


More information about the macruby-changes mailing list