* 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
@ -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>
|
Tue Feb 15 19:43:23 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* configure.in: fix and resubmit r30621. [ruby-dev:43203]
|
* 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");
|
rb_raise(rb_eArgError, "recursive array join");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
VALUE args[3];
|
VALUE args[4];
|
||||||
|
|
||||||
args[0] = val;
|
args[0] = val;
|
||||||
args[1] = sep;
|
args[1] = sep;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user