diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-13 06:00:45 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-13 06:00:45 +0000 |
| commit | 5486d88721bba775d92ce1a18b504da3b9d598ee (patch) | |
| tree | 3ab30924c27e0d2a69d35e2af7c8f5f01d961cda | |
| parent | b28112bf672cb14aeaf99a2b3e69f537de9f5c93 (diff) | |
| download | ruby-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
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | load.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,6 @@ -Sat Jun 13 14:58:57 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> +Sat Jun 13 15:00:41 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * load.c (rb_provide): assumes us-ascii only. * load.c (rb_require_safe): FilePathValue() implies rb_str_new4(). @@ -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)); |
