From fd203a0dea9140d3dfce6ef5356d59ae1e2962e8 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 18 Apr 2005 15:01:21 +0000 Subject: * 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 --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file.c') 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; } } -- cgit