summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-30 05:26:59 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-30 05:26:59 +0000
commit5d4dbad62816eff4b27e4328677f9fe0654463d1 (patch)
treedbd708823afd62c504a0b0b50898f3cfacf7d799 /hash.c
parent365ad5ceee7cdbb7c2e396993cfdc721996b9223 (diff)
downloadruby-5d4dbad62816eff4b27e4328677f9fe0654463d1.tar.gz
ruby-5d4dbad62816eff4b27e4328677f9fe0654463d1.tar.xz
ruby-5d4dbad62816eff4b27e4328677f9fe0654463d1.zip
* hash.c (rb_hash_eql): recursive comparison should be based on
eql? [ruby-core:13803] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 385e05624..56b2bef93 100644
--- a/hash.c
+++ b/hash.c
@@ -1436,7 +1436,7 @@ rb_hash_equal(VALUE hash1, VALUE hash2)
static VALUE
rb_hash_eql(VALUE hash1, VALUE hash2)
{
- return hash_equal(hash1, hash2, Qfalse);
+ return hash_equal(hash1, hash2, Qtrue);
}
static int