diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-07 14:42:52 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-07 14:42:52 +0000 |
commit | 1be6a498ba8d1c113d4e0e7547d01c86c188e5c4 (patch) | |
tree | 34d65cf35842ad8a4c851fee2e52a8f109625314 /io.c | |
parent | 19768b6cacb1319f34944a0dc5e0bbe099d2d18e (diff) | |
download | ruby-1be6a498ba8d1c113d4e0e7547d01c86c188e5c4.tar.gz |
* ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal):
add RB_GC_GUARD to prevent the immediate object is GCed too early.
This patch was made by Yusuke Endoh. [Bug #7044] [ruby-core:47632]
* test/bigdecimal/test_bigdecimal.rb: add a reproduction test for
the issue [Bug #7044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
0 files changed, 0 insertions, 0 deletions