summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-11 17:35:34 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-11 17:35:34 +0000
commite206da0ab874eb76c2f4c6fc2f7874d05d518aed (patch)
tree7dfda7cdfa3daaccadc7b646ddff7e65c2bc2503 /thread.c
parentfe0fb03316b049783bcf4ecef2d88385eb401a1b (diff)
merge revision(s) 55063: [Backport #12391]
* 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/branches/ruby_2_3@55383 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 4e0340d801..a0e31c5326 100644
--- a/thread.c
+++ b/thread.c
@@ -4306,7 +4306,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;