mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	switch back to kqueue for now, since (a) kqueue has been fixed to deal
with strange devices and (b) since there appears to be a bull in the poll code in libevent as well... requested by nicm who is away
This commit is contained in:
		
							
								
								
									
										3
									
								
								server.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								server.c
									
									
									
									
									
								
							@@ -139,11 +139,8 @@ server_start(char *path)
 | 
			
		||||
		fatal("daemon failed");
 | 
			
		||||
 | 
			
		||||
	/* event_init() was called in our parent, need to reinit. */
 | 
			
		||||
	if (setenv("EVENT_NOKQUEUE", "1", 1) != 0)
 | 
			
		||||
		fatal("setenv");
 | 
			
		||||
	if (event_reinit(ev_base) != 0)
 | 
			
		||||
		fatal("event_reinit failed");
 | 
			
		||||
	unsetenv("EVENT_NOKQUEUE");
 | 
			
		||||
	clear_signals();
 | 
			
		||||
 | 
			
		||||
	logfile("server");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user