diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | load.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Jun 13 14:57:36 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * load.c (rb_mod_autoload): try conversion to path like as + require. [ruby-core:23834] + Sat Jun 13 09:58:26 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * marshal.c (r_ivar): should not set internal encoding ivar as an @@ -654,7 +654,7 @@ rb_mod_autoload(VALUE mod, VALUE sym, VALUE file) { ID id = rb_to_id(sym); - Check_SafeStr(file); + FilePathValue(file); rb_autoload(mod, id, RSTRING_PTR(file)); return Qnil; } |