зеркало из https://github.com/github/ruby.git
* array.c: typo in comment patch by Nami-Doc [Github fixes #253]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6751ba4c7a
Коммит
e563e6bf10
|
@ -1,3 +1,7 @@
|
|||
Sat Mar 2 02:45:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* array.c: typo in comment patch by Nami-Doc [Github fixes #253]
|
||||
|
||||
Sat Mar 2 01:33:17 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* Merge Onigmo 0fe387da2fee089254f6b04990541c731a26757f
|
||||
|
|
2
array.c
2
array.c
|
@ -299,7 +299,7 @@ ary_ensure_room_for_push(VALUE ary, long add_len)
|
|||
rb_ary_modify_check(ary);
|
||||
}
|
||||
else {
|
||||
/* if array is shared, than it is likely it participate in push/shift pattern */
|
||||
/* if array is shared, then it is likely it participate in push/shift pattern */
|
||||
rb_ary_modify(ary);
|
||||
capa = ARY_CAPA(ary);
|
||||
if (new_len > capa - (capa >> 6)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче