зеркало из https://github.com/github/ruby.git
* gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
4fd53e476e
Коммит
71286e3770
|
@ -1,3 +1,7 @@
|
|||
Sat Dec 14 01:15:51 2013 Masaya Tarui <tarui@ruby-lang.org>
|
||||
|
||||
* gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.
|
||||
|
||||
Sat Dec 14 01:05:46 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
|
||||
|
|
1
gc.c
1
gc.c
|
@ -6330,6 +6330,7 @@ wmap_final_func(st_data_t *key, st_data_t *value, st_data_t arg, int existing)
|
|||
if (j < i) {
|
||||
ptr = ruby_sized_xrealloc2(ptr, j, sizeof(VALUE), i);
|
||||
ptr[0] = j;
|
||||
*value = (st_data_t)ptr;
|
||||
}
|
||||
return ST_CONTINUE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче