diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-06-29 11:33:02 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-06-29 17:46:37 -0700 |
commit | 1e10654f81e74c4d11ab538b16dcc1b7bd36cb7f (patch) | |
tree | 53980cb336bf53f60da4d40a1b550a1a179068cc /lib/unicorn | |
parent | 2c53b32bf651966d3eb39850cc6be019eda51df0 (diff) | |
download | unicorn-1e10654f81e74c4d11ab538b16dcc1b7bd36cb7f.tar.gz |
This has been totally broken since commit b0013b043a15d77d810d5965157766c1af364db2 "Avoid duplicating the "Z" constant"
Diffstat (limited to 'lib/unicorn')
-rw-r--r-- | lib/unicorn/app/inetd.rb | 4 |
1 files 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 |