diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-02-02 17:37:22 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-02-02 17:37:22 -0800 |
commit | 9e7a8114fb0fcc56b475d17f158eaa5b7f1f7bdd (patch) | |
tree | 7918d54946cb23294f87e5d8a07b27b298262c82 /lib/unicorn/app | |
parent | e597e594ad88dc02d70f7d3521d0d3bdc23739bb (diff) | |
download | unicorn-9e7a8114fb0fcc56b475d17f158eaa5b7f1f7bdd.tar.gz |
for i in `git ls-files '*.rb'`; do ruby -w -c $i; done
Diffstat (limited to 'lib/unicorn/app')
-rw-r--r-- | lib/unicorn/app/exec_cgi.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/unicorn/app/exec_cgi.rb b/lib/unicorn/app/exec_cgi.rb index f7b4249..c259403 100644 --- a/lib/unicorn/app/exec_cgi.rb +++ b/lib/unicorn/app/exec_cgi.rb @@ -85,9 +85,9 @@ module Unicorn::App ENV['GATEWAY_INTERFACE'] = 'CGI/1.1' env.keys.grep(/^HTTP_/) { |key| ENV[key] = env[key] } - a = IO.new(0).reopen(inp) - b = IO.new(1).reopen(out) - c = IO.new(2).reopen(err) + $stdin.reopen(inp) + $stdout.reopen(out) + $stderr.reopen(err) exec(*args) end |