[前][次][番号順一覧][スレッド一覧]

ruby-changes:42989

From: usa <ko1@a...>
Date: Wed, 18 May 2016 21:31:58 +0900 (JST)
Subject: [ruby-changes:42989] usa:r55063 (trunk): * thread.c (recursive_list_access): a object id may be a Bignum. so,

usa	2016-05-18 21:31:53 +0900 (Wed, 18 May 2016)

  New Revision: 55063

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55063

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/thread.c
Index: thread.c
===================================================================
--- thread.c	(revision 55062)
+++ thread.c	(revision 55063)
@@ -4333,7 +4333,7 @@ recursive_list_access(VALUE sym) https://github.com/ruby/ruby/blob/trunk/thread.c#L4333
 	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;
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55062)
+++ ChangeLog	(revision 55063)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed May 18 21:29:59 2016  NAKAMURA Usaku  <usa@r...>
+
+	* 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  <naruse@r...>
 
 	* re.c (rb_reg_match_m_p): Introduce Regexp#match?, which returns

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]