mirror of
				https://github.com/rofl0r/proxychains-ng.git
				synced 2025-11-04 00:56:03 +00:00 
			
		
		
		
	use pipe instead of pipe2
This commit is contained in:
		@@ -270,7 +270,7 @@ size_t at_get_host_for_ip(ip_type ip, char* readbuf) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void initpipe(int* fds) {
 | 
					static void initpipe(int* fds) {
 | 
				
			||||||
	if(pipe2(fds, 0/*O_CLOEXEC*/) == -1) {
 | 
						if(pipe(fds) == -1) {
 | 
				
			||||||
		perror("pipe");
 | 
							perror("pipe");
 | 
				
			||||||
		exit(1);
 | 
							exit(1);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user