On Mon, Aug 18, 2008 at 02:59:21PM -0700, Eric Wong wrote:
> This probably works:
> 
> diff --git a/lib/mongrel.rb b/lib/mongrel.rb
> index 8b5dfe2..027bfdb 100644
> --- a/lib/mongrel.rb
> +++ b/lib/mongrel.rb
> @@ -91,6 +91,9 @@ module Mongrel
>        
>        tries = 0
>        @socket = TCPServer.new(host, port) 
> +      if defined?(Fcntl::FD_CLOEXEC)
> +        @socket.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC)
> +      end
>        
>        @classifier = URIClassifier.new
>        @host = host

Looks reasonable to me. Thanks, Eric. Can somebody commit, please?

-- 
Jos Backus
jos at catnook.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to