diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-27 17:15:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-27 17:15:09 +0000 |
commit | 9f3914aba6fe3df5a1c4382b655fb0a7df0cdbfa (patch) | |
tree | d2b7e665bf743738cfd41133d522a5d659aa9ff8 /test/dl/test_func.rb | |
parent | 5c815b733d90a82d0d708d836c9a98c9704d8ad4 (diff) | |
download | ruby-9f3914aba6fe3df5a1c4382b655fb0a7df0cdbfa.tar.gz |
* ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
workaround to mark wrapped object. this is not a true fix,
because [Bug #4929] is caused by the interface design of DL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl/test_func.rb')
-rw-r--r-- | test/dl/test_func.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dl/test_func.rb b/test/dl/test_func.rb index 45d475c919..761ae43143 100644 --- a/test/dl/test_func.rb +++ b/test/dl/test_func.rb @@ -95,6 +95,11 @@ module DL buff = "9341" qsort.call(buff, buff.size, 1, cb) assert_equal("1349", buff) + + bug4929 = '[ruby-core:37395]' + buff = "9341" + EnvUtil.under_gc_stress {qsort.call(buff, buff.size, 1, cb)} + assert_equal("1349", buff, bug4929) end def test_qsort2() |