diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-29 11:35:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-29 11:35:35 +0000 |
commit | 26a9bf756bf66e77dd7b897f7ad97a7ffdfb3275 (patch) | |
tree | f410e478755be750b4816e8c9ca3960cd1ff2bd4 | |
parent | cb70a92ece6503ffd0b24ebda67cfdb35672e8ee (diff) | |
download | ruby-26a9bf756bf66e77dd7b897f7ad97a7ffdfb3275.tar.gz |
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
-rw-r--r-- | array.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |