diff options
author | Brad King <brad.king@kitware.com> | 2010-06-03 16:46:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-03 16:46:11 (GMT) |
commit | c15ed3294c68cc819d9471c4ea41dc3d2a95aadd (patch) | |
tree | db4af0b907df4d8905ae0d48ad2f19eac55032ad /Tests/CMakeTests | |
parent | 3ac3dea6f0eb1ce68b321020ecdd336b3db8a0fe (diff) | |
download | CMake-c15ed3294c68cc819d9471c4ea41dc3d2a95aadd.zip CMake-c15ed3294c68cc819d9471c4ea41dc3d2a95aadd.tar.gz CMake-c15ed3294c68cc819d9471c4ea41dc3d2a95aadd.tar.bz2 |
KWSys: Avoid stat in CopyFileAlways (#10790)
On Windows 7 the file size reported by 'stat' on a new file sometimes
reports zero even though the real size is correct. This causes our
CopyFileAlways method to falsely detect copy failure. Work around the
problem by trusting the state of ofstream after writing the file.
Diffstat (limited to 'Tests/CMakeTests')
0 files changed, 0 insertions, 0 deletions