summaryrefslogtreecommitdiffstats
path: root/load.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-13 06:00:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-13 06:00:45 +0000
commit5486d88721bba775d92ce1a18b504da3b9d598ee (patch)
tree3ab30924c27e0d2a69d35e2af7c8f5f01d961cda /load.c
parentb28112bf672cb14aeaf99a2b3e69f537de9f5c93 (diff)
downloadruby-5486d88721bba775d92ce1a18b504da3b9d598ee.tar.gz
ruby-5486d88721bba775d92ce1a18b504da3b9d598ee.tar.xz
ruby-5486d88721bba775d92ce1a18b504da3b9d598ee.zip
* load.c (rb_provide): assumes us-ascii only.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
-rw-r--r--load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.c b/load.c
index 6e554f1d8..f6d27ac6a 100644
--- a/load.c
+++ b/load.c
@@ -247,7 +247,7 @@ rb_provide_feature(VALUE feature)
void
rb_provide(const char *feature)
{
- rb_provide_feature(rb_str_new2(feature));
+ rb_provide_feature(rb_usascii_str_new2(feature));
}
NORETURN(static void load_failed(VALUE));