[前][次][番号順一覧][スレッド一覧]

ruby-changes:13759

From: naruse <ko1@a...>
Date: Thu, 29 Oct 2009 04:43:21 +0900 (JST)
Subject: [ruby-changes:13759] Ruby:r25555 (trunk): * ruby.c (process_options): call rb_filesystem_encoding().

naruse	2009-10-29 04:42:59 +0900 (Thu, 29 Oct 2009)

  New Revision: 25555

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25555

  Log:
    * ruby.c (process_options): call rb_filesystem_encoding().

  Modified files:
    trunk/ChangeLog
    trunk/ruby.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 25554)
+++ ChangeLog	(revision 25555)
@@ -1,3 +1,7 @@
+Thu Oct 29 04:41:44 2009  NARUSE, Yui  <naruse@r...>
+
+	* ruby.c (process_options): call rb_filesystem_encoding().
+
 Thu Oct 29 04:40:36 2009  NARUSE, Yui  <naruse@r...>
 
 	* io.c (Init_IO): rb_default_rs should be US-ASCII.
Index: ruby.c
===================================================================
--- ruby.c	(revision 25554)
+++ ruby.c	(revision 25555)
@@ -1302,6 +1302,7 @@
     ruby_init_loadpath_safe(opt->safe_level);
     rb_enc_find_index("encdb");
     lenc = rb_locale_encoding();
+    (void)rb_filesystem_encoding();
     rb_enc_associate(rb_progname, lenc);
     parser = rb_parser_new();
     if (opt->dump & DUMP_BIT(yydebug)) {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]