mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	core-util: Use /proc/fd on Solaris as well in pa_close_all
Gets rid of > 65,000 unnecessary close() syscalls Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
		
							parent
							
								
									9901a26d95
								
							
						
					
					
						commit
						4be2625ef8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -2553,7 +2553,7 @@ int pa_close_allv(const int except_fds[]) {
 | 
				
			||||||
    struct rlimit rl;
 | 
					    struct rlimit rl;
 | 
				
			||||||
    int maxfd, fd;
 | 
					    int maxfd, fd;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __linux__
 | 
					#if defined(__linux__) || defined(__sun)
 | 
				
			||||||
    int saved_errno;
 | 
					    int saved_errno;
 | 
				
			||||||
    DIR *d;
 | 
					    DIR *d;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue