mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
array.c: nested encoding
* array.c (ary_join_1): ignore encodings in nested arrays as an initial encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cb70a92ece
commit
26a9bf756b
1 changed files with 1 additions and 0 deletions
1
array.c
1
array.c
|
|
@ -2008,6 +2008,7 @@ ary_join_1(VALUE obj, VALUE ary, VALUE sep, long i, VALUE result, int *first)
|
|||
else {
|
||||
VALUE args[4];
|
||||
|
||||
*first = FALSE;
|
||||
args[0] = val;
|
||||
args[1] = sep;
|
||||
args[2] = result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue