Actions
Bug #1505
closedDL::CPtr#<=> doesn't return -1
Description
=begin
DL::CPtr#<=> が -1 ではなくて 4294967295 を返します。
$ cat d15.rb
require 'dl'
s = 'abc'
cptr = DL::CPtr[s]
cptr1 = cptr + 1
p cptr <=> cptr1
p cptr1 <=> cptr
$ ruby-1.9 d15.rb
4294967295
1
=end
Actions
Like0
Like0