summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-18 15:01:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-18 15:01:21 +0000
commitfd203a0dea9140d3dfce6ef5356d59ae1e2962e8 (patch)
treeb9833ea66ebdf3f653e45afa00b2b158bb7f4388 /file.c
parenta72425ba3d7a8cadd2575941235d99765c6839e7 (diff)
downloadruby-fd203a0dea9140d3dfce6ef5356d59ae1e2962e8.tar.gz
ruby-fd203a0dea9140d3dfce6ef5356d59ae1e2962e8.tar.xz
ruby-fd203a0dea9140d3dfce6ef5356d59ae1e2962e8.zip
* eval.c (search_required, rb_require_safe): expand path in
rb_features. [ruby-dev:26079] * file.c (rb_find_file_ext): return absolute path. * ext/extmk.rb: expand path for ext/**/extconf.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 94136e7b7..ddaca16b6 100644
--- a/file.c
+++ b/file.c
@@ -4142,7 +4142,7 @@ rb_find_file_ext(filep, ext)
OBJ_FREEZE(fname);
found = dln_find_file(StringValueCStr(fname), path);
if (found && file_load_ok(found)) {
- *filep = fname;
+ *filep = rb_str_new2(found);
return j+1;
}
}