mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-31 12:23:52 +03:00 
			
		
		
		
	r7705: prevent SIGPIPE. this is what causes BASE-NEGNOWAIT to sometimes fail
This commit is contained in:
		
				
					committed by
					
						 Gerald (Jerry) Carter
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							1011b1bf51
						
					
				
				
					commit
					0163d7fe99
				
			| @@ -63,6 +63,9 @@ struct smbcli_socket *smbcli_sock_init(TALLOC_CTX *mem_ctx, | ||||
| 		return NULL; | ||||
| 	} | ||||
|  | ||||
| 	/* ensure we don't get SIGPIPE */ | ||||
| 	BlockSignals(True,SIGPIPE); | ||||
|  | ||||
| 	return sock; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user