mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									704abdc3d2
								
							
						
					
					
						commit
						6edde68b5d
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,7 @@
 | 
			
		|||
Wed Apr 24 15:55:06 2013  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
 | 
			
		||||
 | 
			
		||||
	* io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
 | 
			
		||||
 | 
			
		||||
Wed Apr 24 14:08:00 2013  Zachary Scott  <zachary@zacharyscott.net>
 | 
			
		||||
 | 
			
		||||
	* numeric.c: Fix wiki link on Float imprecision in overview, patched
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								io.c
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								io.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -216,9 +216,8 @@ rb_maygvl_fd_fix_cloexec(int fd)
 | 
			
		|||
void
 | 
			
		||||
rb_fd_fix_cloexec(int fd)
 | 
			
		||||
{
 | 
			
		||||
    rb_atomic_t afd = (rb_atomic_t)fd;
 | 
			
		||||
    rb_maygvl_fd_fix_cloexec(fd);
 | 
			
		||||
    if (max_file_descriptor < afd) max_file_descriptor = afd;
 | 
			
		||||
    rb_update_max_fd(fd);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue