diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-04 15:18:42 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-04 15:18:42 +0000 |
commit | 1096be5ac6540c204047c7c9e6d58bfcef90e167 (patch) | |
tree | 167ec359660da444943d35a970a4106e67379fce /test/drb/ut_array_drbssl.rb | |
parent | 7ba44caaf3ef733817d236f8f019041838b65293 (diff) |
passing rb_thread_sleep to rb_protect is IMHO dangerous
rb_thread_sleep's argument is int, while rb_protect expects the function
to take VALUE. Depending on ABI this could be a problem.
We should wrap rb_thread_sleep here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/ut_array_drbssl.rb')
0 files changed, 0 insertions, 0 deletions