mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 4 additions and 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().
|
||||
|
||||
|
|
2
load.c
2
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));
|
||||
|
|
Loading…
Add table
Reference in a new issue