mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 17:24:18 +00:00 
			
		
		
		
	The output log is only useful once and it means creating a file, so open
it once at startup instead of in every call to tty_open.
This commit is contained in:
		@@ -1178,7 +1178,6 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
 | 
			
		||||
		proc_send(c->peer, MSG_STDIN, -1, NULL, 0);
 | 
			
		||||
 | 
			
		||||
		c->tty.fd = -1;
 | 
			
		||||
		c->tty.log_fd = -1;
 | 
			
		||||
 | 
			
		||||
		close(c->fd);
 | 
			
		||||
		c->fd = -1;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user