diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Mar 22 23:13:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (rb_provided): check for extension library if SOEXT is + explicitly given. [ruby-dev:30657] + Thu Mar 22 10:29:25 2007 NAKAMURA Usaku <usa@ruby-lang.org> * test/ruby/test_bignum.rb (test_to_s): add tests for Bignum#to_s. @@ -7017,7 +7017,8 @@ rb_provided(feature) return Qfalse; } else if (IS_SOEXT(ext) || IS_DLEXT(ext)) { - return Qfalse; /* may be overriden by .rb file */ + if (rb_feature_p(feature, ext, Qfalse)) return Qtrue; + return Qfalse; } } if (rb_feature_p(feature, feature + strlen(feature), Qtrue)) |