mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* 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
This commit is contained in:
		
							parent
							
								
									d23bd5803e
								
							
						
					
					
						commit
						fbef098fc5
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
Wed May 18 21:29:59 2016  NAKAMURA Usaku  <usa@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* 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@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* re.c (rb_reg_match_m_p): Introduce Regexp#match?, which returns
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								thread.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue