mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
Conflicts: cmd-find.c
This commit is contained in:
		
							
								
								
									
										5
									
								
								tmux.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								tmux.c
									
									
									
									
									
								
							@@ -19,6 +19,7 @@
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
#include <sys/stat.h>
 | 
			
		||||
 | 
			
		||||
#include <err.h>
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
#include <event.h>
 | 
			
		||||
#include <fcntl.h>
 | 
			
		||||
@@ -260,6 +261,10 @@ main(int argc, char **argv)
 | 
			
		||||
	if (shell_cmd != NULL && argc != 0)
 | 
			
		||||
		usage();
 | 
			
		||||
 | 
			
		||||
	if (pledge("stdio rpath wpath cpath flock fattr unix sendfd recvfd "
 | 
			
		||||
	    "proc exec tty ps", NULL) != 0)
 | 
			
		||||
		err(1, "pledge");
 | 
			
		||||
 | 
			
		||||
	if (!(flags & CLIENT_UTF8)) {
 | 
			
		||||
		/*
 | 
			
		||||
		 * If the user has set whichever of LC_ALL, LC_CTYPE or LANG
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user