Skip to content
Snippets Groups Projects
Commit 8d521366 authored by Brad King's avatar Brad King
Browse files

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.
parent 278f2d8d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment