mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Don't close random file descriptor on error, from J Raynor.
This commit is contained in:
		@@ -30,7 +30,7 @@
 | 
			
		||||
pid_t
 | 
			
		||||
forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
 | 
			
		||||
{
 | 
			
		||||
	int	slave;
 | 
			
		||||
	int	slave = -1;
 | 
			
		||||
	char   *path;
 | 
			
		||||
	pid_t	pid;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user