Permalink
Browse files

* ruby.c (process_options), enc/prelude.rb: encdb and transdb are

  extension libraries.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 210e51f commit c030cf1975d0cd935f9cd1dbac6daaea7a7b9f54 @nobu nobu committed Jun 22, 2009
Showing with 6 additions and 3 deletions.
  1. +4 −1 ChangeLog
  2. +1 −1 enc/prelude.rb
  3. +1 −1 ruby.c
View
5 ChangeLog
@@ -1,4 +1,7 @@
-Mon Jun 22 14:35:45 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Mon Jun 22 14:41:47 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ruby.c (process_options), enc/prelude.rb: encdb and transdb are
+ extension libraries.
* ruby.c (process_options): set progname earlier.
View
2 enc/prelude.rb
@@ -1,4 +1,4 @@
-%w'enc/encdb enc/trans/transdb'.each do |init|
+%w'enc/encdb.so enc/trans/transdb.so'.each do |init|
begin
require(init)
rescue LoadError
View
2 ruby.c
@@ -1302,7 +1302,7 @@ process_options(int argc, char **argv, struct cmdline_options *opt)
rb_obj_freeze(opt->script_name);
ruby_init_loadpath_safe(opt->safe_level);
- rb_enc_find_index("encdb");
+ rb_enc_find_index("encdb.so");
lenc = rb_locale_encoding();
rb_enc_associate(rb_progname, lenc);
parser = rb_parser_new();

0 comments on commit c030cf1

Please sign in to comment.