Introduce a Truncate() function that works on POSIX and Windows.
authorNico Weber <nicolasweber@gmx.de>
Mon, 29 Apr 2013 15:57:31 +0000 (08:57 -0700)
committerNico Weber <nicolasweber@gmx.de>
Mon, 29 Apr 2013 16:01:55 +0000 (09:01 -0700)
commitbb10325339898d2833a9f24e9e0252b2c257beb1
tree7f78186d78e2e060a26ece346129aba9015d3515
parent3699cb6aa2fb29125bf725cb50fbcc593da8a8a1
Introduce a Truncate() function that works on POSIX and Windows.

Hopefully fixes the build on Windows.
src/build_log_test.cc
src/deps_log.cc
src/deps_log_test.cc
src/util.cc
src/util.h