diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-22 14:12:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-22 14:12:56 +0000 |
commit | a8ba0adb5cfddd91dfb01af885994b603e66dcfd (patch) | |
tree | 509788568ff7ce5c85d06aba09bd4099acd81600 | |
parent | 2e8def5d1431c5abb2113c4e437453ee29ba2db0 (diff) |
* eval.c (rb_provided): check for extension library if SOEXT is
explicitly given. [ruby-dev:30657]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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)) |