ruby-changes:47569
From: nobu <ko1@a...>
Date: Tue, 29 Aug 2017 20:35:39 +0900 (JST)
Subject: [ruby-changes:47569] nobu:r59685 (trunk): array.c: nested encoding
nobu 2017-08-29 20:35:35 +0900 (Tue, 29 Aug 2017) New Revision: 59685 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59685 Log: array.c: nested encoding * array.c (ary_join_1): ignore encodings in nested arrays as an initial encoding. Modified files: trunk/array.c Index: array.c =================================================================== --- array.c (revision 59684) +++ array.c (revision 59685) @@ -2008,6 +2008,7 @@ ary_join_1(VALUE obj, VALUE ary, VALUE s https://github.com/ruby/ruby/blob/trunk/array.c#L2008 else { VALUE args[4]; + *first = FALSE; args[0] = val; args[1] = sep; args[2] = result; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/