mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	file.c: fix compile error
* file.c (rb_file_s_rename): remove unmatched endif not removed at r52161. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									a857b11ded
								
							
						
					
					
						commit
						3d7a535440
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		
							
								
								
									
										1
									
								
								file.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								file.c
									
										
									
									
									
								
							|  | @ -2887,7 +2887,6 @@ rb_file_s_rename(VALUE klass, VALUE from, VALUE to) | |||
| #if defined DOSISH | ||||
| 	switch (e) { | ||||
| 	  case EEXIST: | ||||
| #endif | ||||
| 	    if (chmod(dst, 0666) == 0 && | ||||
| 		unlink(dst) == 0 && | ||||
| 		rename(src, dst) == 0) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu