From 5d4d154553d4c19e3ee9a526148eb615cb2c2d79 Mon Sep 17 00:00:00 2001 From: knu Date: Sun, 8 Jun 2008 18:25:01 +0000 Subject: * hash.c (hash_i): make Hash#hash order insensitive. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- hash.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index 55e2d0a819..3f269becb5 100644 --- a/hash.c +++ b/hash.c @@ -1602,7 +1602,6 @@ hash_i(key, val, hval) { if (key == Qundef) return ST_CONTINUE; *hval ^= rb_hash(key); - *hval *= 137; *hval ^= rb_hash(val); return ST_CONTINUE; } -- cgit v1.2.3