From ae4a7ade8df9f56e0c3dc302118464ff43fd7292 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 18 May 2016 12:31:53 +0000 Subject: * thread.c (recursive_list_access): a object id may be a Bignum. so, the list must be a objhash, instead of a identhash. this fixes many test errors on mswin64 CI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ thread.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b5d1e8f8c9..b6ffb31a95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed May 18 21:29:59 2016 NAKAMURA Usaku + + * thread.c (recursive_list_access): a object id may be a Bignum. so, + the list must be a objhash, instead of a identhash. + this fixes many test errors on mswin64 CI. + Wed May 18 19:33:54 2016 NARUSE, Yui * re.c (rb_reg_match_m_p): Introduce Regexp#match?, which returns diff --git a/thread.c b/thread.c index 457c996302..d17b663bae 100644 --- a/thread.c +++ b/thread.c @@ -4333,7 +4333,7 @@ recursive_list_access(VALUE sym) list = rb_hash_aref(hash, sym); } if (NIL_P(list) || !RB_TYPE_P(list, T_HASH)) { - list = rb_ident_hash_new(); + list = rb_hash_new(); rb_hash_aset(hash, sym, list); } return list; -- cgit v1.2.3