From: bert hubert Date: Wed, 24 Feb 2016 10:54:22 +0000 (+0100) Subject: we don't need set close on exec in pdns_recursor since it won't (can't) exec anything X-Git-Tag: auth-4.0.0-alpha2~6^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7eb73ffae978a032c3a52ee133164cd0ca705437;p=pdns we don't need set close on exec in pdns_recursor since it won't (can't) exec anything --- 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;