mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Improve TMPDIR handling
Patch from 'jnelson', http://pulseaudio.org/ticket/653
This commit is contained in:
		
							parent
							
								
									3de5c49e42
								
							
						
					
					
						commit
						2d9168ceb3
					
				
					 2 changed files with 15 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1390,7 +1390,7 @@ static char* make_random_dir(mode_t m) {
 | 
			
		|||
    if (!tmpdir || !pa_is_path_absolute(tmpdir))
 | 
			
		||||
        tmpdir = "/tmp";
 | 
			
		||||
 | 
			
		||||
    fn = pa_sprintf_malloc("%s/pulse-XXXXXXXXXXXX", tmpdir);
 | 
			
		||||
    fn = pa_sprintf_malloc("%s" PA_PATH_SEP "pulse-XXXXXXXXXXXX", tmpdir);
 | 
			
		||||
    pathlen = strlen(fn);
 | 
			
		||||
 | 
			
		||||
    for (;;) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue