From 796cd8d2b393027449373ab35d32e531806c207c Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 30 Aug 2008 05:42:06 +0000 Subject: * ext/dl/mkcallback.rb (rb_dl_init_callbacks): avoid GC problem which is caused by 'GC.stress=true; require "dl"'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/mkcallback.rb | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'ext/dl') diff --git a/ext/dl/mkcallback.rb b/ext/dl/mkcallback.rb index 21fb177f8..4dbd0d6ef 100644 --- a/ext/dl/mkcallback.rb +++ b/ext/dl/mkcallback.rb @@ -135,16 +135,21 @@ $out << (<