Revision
3457
Author
lsansonetti@apple.com
Date
2010-02-08 16:27:14 -0800 (Mon, 08 Feb 2010)

Log Message

revert bad change introduced by thibault

Modified Paths

Diff

Modified: MacRuby/trunk/load.c (3456 => 3457)


--- 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 $:.