diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | eval.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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. @@ -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); |