[MacPorts] #22361: Ruby 1.87 Hash equivalence fails on large Fixnums
MacPorts
noreply at macports.org
Tue Nov 3 14:27:26 PST 2009
#22361: Ruby 1.87 Hash equivalence fails on large Fixnums
----------------------------+-----------------------------------------------
Reporter: ben@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: ruby hash | Port:
----------------------------+-----------------------------------------------
On MacOS Leopard 10.5.8 with Ruby 1.87 (all patchlevels <= 174) and all
compatible versions of MacPorts (<= 1.8.1)
Hash equivalence fails when a value is a Fixnum > 536870911.
>> {:a => 536870911}.hash == {:a => 536870911}.hash
=> true
>> {:a => 536870912}.hash == {:a => 536870912}.hash
=> false
--
Ticket URL: <http://trac.macports.org/ticket/22361>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list