ruby-changes:64007
From: Kenta <ko1@a...>
Date: Tue, 8 Dec 2020 02:13:42 +0900 (JST)
Subject: [ruby-changes:64007] 146b3695c0 (master): ruby.c: remove needless substitution of uenc
https://git.ruby-lang.org/ruby.git/commit/?id=146b3695c0 From 146b3695c0e1ea0d6cf00442d5524f97d8a75296 Mon Sep 17 00:00:00 2001 From: Kenta Murata <mrkn@m...> Date: Tue, 8 Dec 2020 02:09:53 +0900 Subject: ruby.c: remove needless substitution of uenc uenc has already been initialized the top of the function. diff --git a/ruby.c b/ruby.c index c01d78e..ebea8cc 100644 --- a/ruby.c +++ b/ruby.c @@ -1819,9 +1819,6 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt) https://github.com/ruby/ruby/blob/trunk/ruby.c#L1819 Init_ruby_description(); Init_enc(); lenc = rb_locale_encoding(); -#if UTF8_PATH - uenc = rb_utf8_encoding(); -#endif rb_enc_associate(rb_progname, lenc); rb_obj_freeze(rb_progname); parser = rb_parser_new(); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/