summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 14:19:10 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 14:19:10 +0000
commit08871bb9195f30e9b191e555df68c069a5f8d4dd (patch)
tree1340537f8f716541b58202242df3bff8be5e8117 /eval.c
parent1735ddaad6a4a2f05a9f909e68e952554dbb3256 (diff)
downloadruby-08871bb9195f30e9b191e555df68c069a5f8d4dd.tar.gz
ruby-08871bb9195f30e9b191e555df68c069a5f8d4dd.tar.xz
ruby-08871bb9195f30e9b191e555df68c069a5f8d4dd.zip
merge -c 12123
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@12308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 014f3f73a..bc657c186 100644
--- a/eval.c
+++ b/eval.c
@@ -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))