* 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:
parent
4fd53e476e
commit
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>
|
Sat Dec 14 01:05:46 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
|
* 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) {
|
if (j < i) {
|
||||||
ptr = ruby_sized_xrealloc2(ptr, j, sizeof(VALUE), i);
|
ptr = ruby_sized_xrealloc2(ptr, j, sizeof(VALUE), i);
|
||||||
ptr[0] = j;
|
ptr[0] = j;
|
||||||
|
*value = (st_data_t)ptr;
|
||||||
}
|
}
|
||||||
return ST_CONTINUE;
|
return ST_CONTINUE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user