summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-03 05:51:28 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-03 05:51:28 (GMT)
commitf235dbeea5ca8aa9e433f3b1b5a8cc70970af304 (patch)
tree9be300c9fd4aa815d1d36a999ecb94c5d97141eb /ruby.c
parent49b3b2d8a2419199d28b4c1e660483bf2c92a74b (diff)
dmyenc.c: try to load encdb
* load.c (ruby_require_internal): separate from rb_require_safe, not to raise exceptions. * ruby.c (process_options): remove unnatural encoding search. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48696 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 967c8a9..2f714b0 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1368,7 +1368,6 @@ process_options(int argc, char **argv, struct cmdline_options *opt)
ruby_gc_set_params(opt->safe_level);
ruby_init_loadpath_safe(opt->safe_level);
Init_enc();
- rb_enc_find_index("encdb");
lenc = rb_locale_encoding();
rb_enc_associate(rb_progname, lenc);
rb_obj_freeze(rb_progname);