mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* ext/date/date_strptime.c (date__strptime_internal): do not
overwrite local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									88014987ad
								
							
						
					
					
						commit
						e8d5304080
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Wed Apr 20 21:32:11 2011  Tadayoshi Funaba  <tadf@dotrb.org>
 | 
			
		||||
 | 
			
		||||
	* ext/date/date_strptime.c (date__strptime_internal): do not
 | 
			
		||||
	  overwrite local variables.
 | 
			
		||||
 | 
			
		||||
Wed Apr 20 14:41:28 2011  NARUSE, Yui  <naruse@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* string.c (rb_str_each_line): check string's length when compare
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -576,6 +576,7 @@ date__strptime_internal(const char *str, size_t slen,
 | 
			
		|||
		    }
 | 
			
		||||
 | 
			
		||||
		    b = rb_backref_get();
 | 
			
		||||
		    rb_match_busy(b);
 | 
			
		||||
		    m = f_match(pat, rb_usascii_str_new2(&str[si]));
 | 
			
		||||
 | 
			
		||||
		    if (!NIL_P(m)) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue