ruby-changes:12014
From: nobu <ko1@a...>
Date: Sat, 13 Jun 2009 15:01:00 +0900 (JST)
Subject: [ruby-changes:12014] Ruby:r23680 (trunk): * load.c (rb_provide): assumes us-ascii only.
nobu 2009-06-13 15:00:45 +0900 (Sat, 13 Jun 2009) New Revision: 23680 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23680 Log: * load.c (rb_provide): assumes us-ascii only. Modified files: trunk/ChangeLog trunk/load.c Index: ChangeLog =================================================================== --- ChangeLog (revision 23679) +++ ChangeLog (revision 23680) @@ -1,5 +1,7 @@ -Sat Jun 13 14:58:57 2009 Nobuyoshi Nakada <nobu@r...> +Sat Jun 13 15:00:41 2009 Nobuyoshi Nakada <nobu@r...> + * load.c (rb_provide): assumes us-ascii only. + * load.c (rb_require_safe): FilePathValue() implies rb_str_new4(). * load.c (rb_mod_autoload): try conversion to path like as Index: load.c =================================================================== --- load.c (revision 23679) +++ load.c (revision 23680) @@ -247,7 +247,7 @@ 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)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/