mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	use pa_fopen_cloexec() where applicable
This commit is contained in:
		
							parent
							
								
									88b72958be
								
							
						
					
					
						commit
						168be3830a
					
				
					 14 changed files with 27 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -1007,7 +1007,7 @@ void pa_memchunk_dump_to_file(pa_memchunk *c, const char *fn) {
 | 
			
		|||
 | 
			
		||||
    /* Only for debugging purposes */
 | 
			
		||||
 | 
			
		||||
    f = fopen(fn, "a");
 | 
			
		||||
    f = pa_fopen_cloexec(fn, "a");
 | 
			
		||||
 | 
			
		||||
    if (!f) {
 | 
			
		||||
        pa_log_warn("Failed to open '%s': %s", fn, pa_cstrerror(errno));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue