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
Updated by nobu (Nobuyoshi Nakada) over 15 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r23549.
=end
Actions
Like0
Like0