Preserve 1.9 IO encodings in reopen_logs
commit79d4a02e343e9fdf92535e2689f10d4a311cc88d
authorEric Wong <normalperson@yhbt.net>
Mon, 4 May 2009 09:01:32 +0000 (4 02:01 -0700)
committerEric Wong <normalperson@yhbt.net>
Mon, 4 May 2009 09:22:21 +0000 (4 02:22 -0700)
treea4d45692eae2bef032c85b25e1bd4745a9cd0beb
parent17dc99cc5c3a3fc59145724059f36c5c907f6c3f
Preserve 1.9 IO encodings in reopen_logs

Ensure we preserve both internal and external encodings
when reopening logs.
Manifest
lib/unicorn/util.rb
test/unit/test_util.rb [new file with mode: 0644]