[MacPorts] #22361: Ruby 1.87 Hash equivalence fails on large Fixnums
MacPorts
noreply at macports.org
Wed Nov 4 05:31:08 PST 2009
#22361: Ruby 1.87 Hash equivalence fails on large Fixnums
----------------------------+-----------------------------------------------
Reporter: ben@… | Owner: kimuraw@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: ruby
----------------------------+-----------------------------------------------
Changes (by kimuraw@…):
* status: new => assigned
Comment:
I reproduced this on snow leopard built-in ruby.
{{{
% arch -x86_64 /usr/bin/ruby -e 'p ({:a=>2**61}.hash ==
{:a=>2**61}.hash)'
false
% arch -i386 /usr/bin/ruby -e 'p ({:a=>2**29}.hash == {:a=>2**29}.hash)'
false
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22361#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list