Dl/test dumps core

e$B$3$s$P$s$Oe(B sheepman e$B$G$9!#e(B

trunk e$B$Ne(B ext/dl/test/test_func.rb e$B$r<B9T$9$k$He(B core
e$B$rEG$-$^$9!#e(B
dl
e$B$@$+$i$3$l$O;EJ}$J$$$H$7$F!"%F%9%H<+BN$,4V0c$C$F$$$k$N$G%Q%C%A$G$9!#e(B

$ svn diff test_func.rb
Index: test_func.rb

— test_func.rb (revision 15345)
+++ test_func.rb (working copy)
@@ -15,9 +15,9 @@ module DL
def test_isdigit()
f = Function.new(CFunc.new(@libc[‘isdigit’], TYPE_INT,
‘isdigit’),
[TYPE_INT])

  •  r1 = f.call(?1)
    
  •  r2 = f.call(?2)
    
  •  rr = f.call(?r)
    
  •  r1 = f.call("1".ord)
    
  •  r2 = f.call("2".ord)
    
  •  rr = f.call("r".ord)
     assert_positive(r1)
     assert_positive(r2)
     assert_zero(rr)