mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Add a wrapper around close() to work around Windows' ass backwards way of
handling sockets. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1429 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									8bf7943e8e
								
							
						
					
					
						commit
						df47c7b828
					
				
					 7 changed files with 45 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
 | 
			
		||||
  Copyright 2004-2006 Lennart Poettering
 | 
			
		||||
  Copyright 2004 Joe Marcus Clarke
 | 
			
		||||
  Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
 | 
			
		||||
  Copyright 2006-2007 Pierre Ossman <ossman@cendio.se> for Cendio AB
 | 
			
		||||
 | 
			
		||||
  PulseAudio is free software; you can redistribute it and/or modify
 | 
			
		||||
  it under the terms of the GNU Lesser General Public License as published
 | 
			
		||||
| 
						 | 
				
			
			@ -236,7 +236,7 @@ int pa_unix_socket_is_stale(const char *fn) {
 | 
			
		|||
 | 
			
		||||
finish:
 | 
			
		||||
    if (fd >= 0)
 | 
			
		||||
        close(fd);
 | 
			
		||||
        pa_close(fd);
 | 
			
		||||
 | 
			
		||||
    return ret;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue