From c26663f24b0c26906b62d70ae113fbc45efe29f8 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 21 Jul 2003 18:48:58 +0000 Subject: * numeric.c (num_equal): should not use rb_equal(). * object.c (rb_equal): back out the last change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'object.c') diff --git a/object.c b/object.c index e168fa7505..7e8b5e68e1 100644 --- a/object.c +++ b/object.c @@ -42,7 +42,7 @@ rb_equal(obj1, obj2) if (obj1 == obj2) return Qtrue; result = rb_funcall(obj1, id_eq, 1, obj2); if (RTEST(result)) return Qtrue; - return result; + return Qfalse; } int -- cgit v1.2.3