From cc7e65a1aa1bacc9658a687140011e999be6e3e7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 25 Feb 2011 17:54:24 +0000 Subject: tee_input: remove old *BSD stdio workaround Ruby 1.8.* users should get the latest Ruby 1.8.7 anyways since they contain critical bugfixes. We don't keep workarounds forever since the root problem is fixed/worked-around in upstream and people have had more than a year to upgrade Ruby. --- lib/unicorn/tee_input.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/unicorn/tee_input.rb b/lib/unicorn/tee_input.rb index 6d37f87..637c583 100644 --- a/lib/unicorn/tee_input.rb +++ b/lib/unicorn/tee_input.rb @@ -120,7 +120,6 @@ private def tee(buffer) if buffer && buffer.size > 0 @tmp.write(buffer) - @tmp.seek(0, IO::SEEK_END) # workaround FreeBSD/OSX + MRI 1.8.x bug end buffer end -- cgit v1.2.3-24-ge0c7