From 1e10654f81e74c4d11ab538b16dcc1b7bd36cb7f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 29 Jun 2009 11:33:02 -0700 Subject: inetd: fix broken constant references This has been totally broken since commit b0013b043a15d77d810d5965157766c1af364db2 "Avoid duplicating the "Z" constant" --- lib/unicorn/app/inetd.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/unicorn/app/inetd.rb b/lib/unicorn/app/inetd.rb index 54f8a86..43a23eb 100644 --- a/lib/unicorn/app/inetd.rb +++ b/lib/unicorn/app/inetd.rb @@ -33,7 +33,7 @@ module Unicorn::App # IO.select-able and attempting to make it so would trip Rack::Lint @inp_pid = fork { [ @err_rd, @out_rd ].each { |io| io.close } - buf = Z.dup + buf = Unicorn::Z.dup # this is dependent on @input.read having readpartial semantics: while @input.read(16384, buf) @@ -45,7 +45,7 @@ module Unicorn::App end def each(&block) - buf = Z.dup + buf = Unicorn::Z.dup begin rd, = IO.select([@err_rd, @out_rd]) rd && rd.first or next -- cgit v1.2.3-24-ge0c7