[macruby-changes] [3457] MacRuby/trunk/load.c

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 8 16:27:17 PST 2010


Revision: 3457
          http://trac.macosforge.org/projects/ruby/changeset/3457
Author:   lsansonetti at apple.com
Date:     2010-02-08 16:27:14 -0800 (Mon, 08 Feb 2010)
Log Message:
-----------
revert bad change introduced by thibault

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

Modified: MacRuby/trunk/load.c
===================================================================
--- MacRuby/trunk/load.c	2010-02-08 23:49:25 UTC (rev 3456)
+++ MacRuby/trunk/load.c	2010-02-09 00:27:14 UTC (rev 3457)
@@ -227,7 +227,7 @@
     if (*name_cstr == '/' || *name_cstr == '.') {
 	// Given name is an absolute path.
 	name = rb_file_expand_path(name, Qnil);
-	return check_path(name_cstr, out, type);	
+	return check_path(RSTRING_PTR(name), out, type);	
     }
 
     // Given name is not an absolute path, we need to go through $:.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100208/9e1b91c8/attachment-0001.html>


More information about the macruby-changes mailing list