summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-18 12:31:53 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-18 12:31:53 +0000
commitfbef098fc5a5af93b45cf788171ab276cb92aee5 (patch)
tree6d819cd0e363fe4b0deec1acc744160852ad1400 /thread.c
parentd23bd5803e9c3bfd0a43eec5f2d50efc82313453 (diff)
* 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
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
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;