mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* parse.y (yycompile): strdup()'ed twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									df3e2499a7
								
							
						
					
					
						commit
						bb8805c9f8
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		|  | @ -1,3 +1,7 @@ | |||
| Sat Jan  5 00:19:12 2002  Nobuyoshi Nakada  <nobu.nakada@nifty.ne.jp> | ||||
| 
 | ||||
| 	* parse.y (yycompile): strdup()'ed twice. | ||||
| 
 | ||||
| Wed Jan  2 23:34:25 2002  WATANABE Hirofumi  <eban@ruby-lang.org> | ||||
| 
 | ||||
| 	* lib/mkmf.rb (create_makefile): add -I. to CPPFLAGS. | ||||
|  |  | |||
							
								
								
									
										2
									
								
								parse.y
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								parse.y
									
										
									
									
									
								
							|  | @ -2118,8 +2118,6 @@ yycompile(f, line) | |||
|     int n; | ||||
|     NODE *node = 0; | ||||
| 
 | ||||
|     f = strdup(f); | ||||
| 
 | ||||
|     if (!compile_for_eval && rb_safe_level() == 0 && | ||||
| 	rb_const_defined(rb_cObject, rb_intern("SCRIPT_LINES__"))) { | ||||
| 	VALUE hash, fname; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu