summaryrefslogtreecommitdiffstats
path: root/Tests/Tutorial/Step2/MathFunctions/MathFunctions.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-03 16:46:11 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-03 16:46:11 (GMT)
commitc15ed3294c68cc819d9471c4ea41dc3d2a95aadd (patch)
treedb4af0b907df4d8905ae0d48ad2f19eac55032ad /Tests/Tutorial/Step2/MathFunctions/MathFunctions.h
parent3ac3dea6f0eb1ce68b321020ecdd336b3db8a0fe (diff)
downloadCMake-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/Tutorial/Step2/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions