mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* regex.c (NUM_FAILURE_ITEMS): was confusing NUM_REG_ITEMS and
NUM_NONREG_ITEMS, which have happened to be same value. * class.c (rb_class_new): subclass check moved to this function. * class.c (rb_class_boot): check less version of rb_class_new(). * eval.c (proc_invoke): should preserve iter status for embedded frame in the block. * file.c (rb_file_s_expand_path): may overrun buffer on stack. * string.c (rb_str_insert): forgot to call rb_str_modify(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									c068201c50
								
							
						
					
					
						commit
						f35971afdf
					
				
					 11 changed files with 71 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -82,6 +82,7 @@ rb_nkf_kconv(obj, opt, src)
 | 
			
		|||
  kanji_convert(NULL);
 | 
			
		||||
  RSTRING(dst)->ptr[output_ctr] = '\0';
 | 
			
		||||
  RSTRING(dst)->len = output_ctr;
 | 
			
		||||
  OBJ_INFECT(dst, src);
 | 
			
		||||
 | 
			
		||||
  return dst;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue