mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	tkutil.c: ary can be nil
* ext/tk/tkutil/tkutil.c (tk_hash_kv): the third argument can be
  nil not only an Array.  reported by @windwiny at
  cdaa94e (commitcomment-17096618)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
			
			
This commit is contained in:
		
							parent
							
								
									06ccd6846d
								
							
						
					
					
						commit
						31a3a862d6
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
Thu Apr 14 14:58:14 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* ext/tk/tkutil/tkutil.c (tk_hash_kv): the third argument can be
 | 
			
		||||
	  nil not only an Array.  reported by @windwiny at
 | 
			
		||||
	  https://github.com/ruby/ruby/commit/cdaa94e#commitcomment-17096618
 | 
			
		||||
 | 
			
		||||
Thu Apr 14 14:28:55 2016  cremno phobia  <cremno@mail.ru>
 | 
			
		||||
 | 
			
		||||
	* cont.c (fiber_initialize_machine_stack_context): fix wrong
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -804,7 +804,7 @@ tk_hash_kv(argc, argv, self)
 | 
			
		|||
    switch(argc) {
 | 
			
		||||
    case 3:
 | 
			
		||||
        ary = argv[2];
 | 
			
		||||
	Check_Type(ary, T_ARRAY);
 | 
			
		||||
	if (!NIL_P(ary)) Check_Type(ary, T_ARRAY);
 | 
			
		||||
    case 2:
 | 
			
		||||
        enc_flag = argv[1];
 | 
			
		||||
    case 1:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue