summaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-29 08:14:09 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-29 08:14:09 +0000
commite4b123f875624bd59a114ccbba75ed5e52799995 (patch)
tree2b456414ce421612670e620564019368c2b31130 /ruby.c
parented95040aa872ee7d803f68008c104c197ccd53c4 (diff)
downloadruby-e4b123f875624bd59a114ccbba75ed5e52799995.tar.gz
ruby-e4b123f875624bd59a114ccbba75ed5e52799995.tar.xz
ruby-e4b123f875624bd59a114ccbba75ed5e52799995.zip
* encoding.c (Init_Encoding): set locale and filesystem encindex.
* ruby.c (process_options): move setting func of filesystem encoding to Init_Encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 8c7e88b22..4c2d56664 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1302,7 +1302,6 @@ process_options(int argc, char **argv, struct cmdline_options *opt)
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)) {