mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									71f4f96249
								
							
						
					
					
						commit
						ae0224673e
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,7 @@
 | 
			
		|||
Mon Mar 15 07:51:05 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin.
 | 
			
		||||
 | 
			
		||||
Mon Mar 15 07:41:00 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* file.c (realpath_rec): use same cache.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								file.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								file.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -5114,7 +5114,7 @@ Init_File(void)
 | 
			
		|||
    rb_define_singleton_method(rb_cFile, "split",  rb_file_s_split, 1);
 | 
			
		||||
    rb_define_singleton_method(rb_cFile, "join",   rb_file_s_join, -2);
 | 
			
		||||
 | 
			
		||||
#ifdef FILE_ALT_SEPARATOR
 | 
			
		||||
#ifdef DOSISH
 | 
			
		||||
    rb_define_const(rb_cFile, "ALT_SEPARATOR", rb_obj_freeze(rb_usascii_str_new2(file_alt_separator)));
 | 
			
		||||
#else
 | 
			
		||||
    rb_define_const(rb_cFile, "ALT_SEPARATOR", Qnil);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue