"Ernest W. Durbin III" <[email protected]> wrote:
> This renables the ability for Ruby 1.8 environments to perform reexecs
Is this for Ruby 1.8.6? I've only tested on 1.8.7,
I haven't had a 1.8.6 installation in a while.
> --- a/lib/unicorn/http_server.rb
> +++ b/lib/unicorn/http_server.rb
> @@ -449,13 +449,14 @@ class Unicorn::HttpServer
> end
>
> self.reexec_pid = fork do
> - listener_fds = Hash[LISTENERS.map do |sock|
> + listener_fds = Hash.new
listener_fds = {}
is generally preferred unless there's a default value.
I'll apply the edited change if that's alright with you (and update
the commit message for 1.8.6 support).
Thanks!
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying