1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (search_required): handle static linked extensions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2005-04-18 23:38:16 +00:00
parent b56724550d
commit 07eead8071
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,4 @@
Tue Apr 19 00:01:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
Tue Apr 19 08:38:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (search_required, rb_require_safe): expand path in
rb_features. [ruby-dev:26079]
@ -7,6 +7,8 @@ Tue Apr 19 00:01:08 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb: expand path for ext/**/extconf.rb.
* eval.c (search_required): handle static linked extensions.
Mon Apr 18 15:37:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_attr): attribute name check added.

3
eval.c
View file

@ -6916,6 +6916,9 @@ search_required(fname, path)
}
}
}
else if (!strchr(ftptr, '/')) {
if (rb_feature_p(ftptr, 0, Qfalse)) return 's';
}
tmp = fname;
type = rb_find_file_ext(&tmp, loadable_ext);
tmp = rb_file_expand_path(tmp, Qnil);