1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* hash.c (rb_hash_eql): recursive comparison should be based on

eql?  [ruby-core:13803]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-11-30 05:26:59 +00:00
parent 058ec52c0d
commit efedaa432b
3 changed files with 9 additions and 4 deletions

View file

@ -2,6 +2,11 @@ Thu Nov 29 16:59:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (stmt): remove unnecessary NODE_BEGIN. [ruby-core:13814]
Thu Nov 29 06:45:48 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_hash_eql): recursive comparison should be based on
eql? [ruby-core:13803]
Wed Nov 28 18:08:00 2007 NARUSE, Yui <naruse@ruby-lang.org>
* ext/json, lib/json, test/json: Update to JSON 1.1.2.

2
hash.c
View file

@ -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

View file

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.0"
#define RUBY_RELEASE_DATE "2007-11-29"
#define RUBY_RELEASE_DATE "2007-11-30"
#define RUBY_VERSION_CODE 190
#define RUBY_RELEASE_CODE 20071129
#define RUBY_RELEASE_CODE 20071130
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2007
#define RUBY_RELEASE_MONTH 11
#define RUBY_RELEASE_DAY 29
#define RUBY_RELEASE_DAY 30
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];