From 7eb73ffae978a032c3a52ee133164cd0ca705437 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Wed, 24 Feb 2016 11:54:22 +0100 Subject: [PATCH] we don't need set close on exec in pdns_recursor since it won't (can't) exec anything --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 43eacc875..960afb692 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -419,7 +419,7 @@ public: if(ret<0) throw PDNSException("Making a socket for resolver (family = "+std::to_string(family)+"): "+stringerror()); - setCloseOnExec(ret); + // setCloseOnExec(ret); // we're not going to exec int tries=10; ComboAddress sin; -- 2.40.0