martine/ninja — pull request #340 by sgraham (2012-06-19 20:19:19+00:00)
Title: fix win32 compile, fix BuildLogTest.WriteRead on 2nd run

compile fixes, and BuildLogTest.WriteRead wasn't closing log2, so the unlink in TearDown silently failed, which made the test fail next time.