ruby-changes:11816
From: nobu <ko1@a...>
Date: Sun, 17 May 2009 09:51:18 +0900 (JST)
Subject: [ruby-changes:11816] Ruby:r23471 (trunk): * ruby.c (cmdline_options_init): initialize encodings.
nobu 2009-05-17 09:51:09 +0900 (Sun, 17 May 2009) New Revision: 23471 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23471 Log: * ruby.c (cmdline_options_init): initialize encodings. Modified files: trunk/ruby.c Index: ruby.c =================================================================== --- ruby.c (revision 23470) +++ ruby.c (revision 23471) @@ -1856,8 +1856,6 @@ args.argc = argc; args.argv = argv; args.opt = cmdline_options_init(&opt); - opt.ext.enc.index = -1; - opt.intern.enc.index = -1; iseq = rb_vm_call_cfunc(rb_vm_top_self(), process_options, (VALUE)&args, 0, rb_progname); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/