diff --git a/ChangeLog b/ChangeLog index 9480d041a4..6544e6bd8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Jun 10 16:00:27 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. + Fri Jun 10 15:56:24 2016 Nobuyoshi Nakada * string.c (rb_str_modify_expand): check integer overflow. diff --git a/thread.c b/thread.c index f9869d5d1e..0b89918eea 100644 --- a/thread.c +++ b/thread.c @@ -4714,7 +4714,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; diff --git a/version.h b/version.h index 3d3a71cae9..ab21fce89e 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.2.6" #define RUBY_RELEASE_DATE "2016-06-10" -#define RUBY_PATCHLEVEL 328 +#define RUBY_PATCHLEVEL 329 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 6