mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Set client stdout file descriptor also for Cgywin, from Michael Wild via Rafael
Kitover in GitHub issue 4148.
This commit is contained in:
		@@ -3111,6 +3111,7 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
 | 
			
		||||
 | 
			
		||||
#ifdef __CYGWIN__
 | 
			
		||||
	c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
 | 
			
		||||
	c->out_fd = dup(c->fd);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
	if (c->flags & CLIENT_CONTROL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user