mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c (ary_join_1): fix array size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
61a4ee9b68
commit
67b9e488dc
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Feb 15 20:34:53 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* array.c (ary_join_1): fix array size.
|
||||
|
||||
Tue Feb 15 19:43:23 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* configure.in: fix and resubmit r30621. [ruby-dev:43203]
|
||||
|
|
2
array.c
2
array.c
|
@ -1650,7 +1650,7 @@ ary_join_1(VALUE obj, VALUE ary, VALUE sep, long i, VALUE result, int *first)
|
|||
rb_raise(rb_eArgError, "recursive array join");
|
||||
}
|
||||
else {
|
||||
VALUE args[3];
|
||||
VALUE args[4];
|
||||
|
||||
args[0] = val;
|
||||
args[1] = sep;
|
||||
|
|
Loading…
Reference in a new issue