Project

General

Profile

Backport #2275

Please backport r22308 from trunk to branches/ruby_1_9_1: hash.c’s rb_hash() always returning a Fixnum

Added by shot (Piotr Szotkowski) almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:26311]

Description

=begin
$ ruby -rset -ve 'p Set[2305860601668175887].hash == Set[2305860601668175887].hash'
ruby 1.9.1p243 (2009-07-16 revision 24175) [x86_64-linux]
false

While current branches/ruby_1_9_1 + r22308:

$ ruby -rset -ve 'p Set[2305860601668175887].hash == Set[2305860601668175887].hash'
ruby 1.9.1p291 (2009-10-25) [x86_64-linux]
true
=end

History

#1

Updated by shot (Piotr Szotkowski) almost 10 years ago

=begin
Backporting to the branches/ruby_1_8_7 branch would also be a good idea:

$ ruby -rset -ve 'p Set[2305860601668175887].hash == Set[2305860601668175887].hash'
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
false

while current branches/ruby_1_8_7 + r22308:

$ ruby -rset -ve 'p Set[2305860601668175887].hash == Set[2305860601668175887].hash'
ruby 1.8.7 (2009-09-11 patchlevel 202) [x86_64-linux]
true

=end

#2

Updated by yugui (Yuki Sonoda) almost 10 years ago

  • Status changed from Open to Closed

=begin
merged at r25938.
=end

Also available in: Atom PDF