* load.c (rb_provide): assumes us-ascii only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7d8ae4129e
commit
b26e4cbb22
@ -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().
|
* load.c (rb_require_safe): FilePathValue() implies rb_str_new4().
|
||||||
|
|
||||||
|
2
load.c
2
load.c
@ -247,7 +247,7 @@ rb_provide_feature(VALUE feature)
|
|||||||
void
|
void
|
||||||
rb_provide(const char *feature)
|
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));
|
NORETURN(static void load_failed(VALUE));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user