Merge topic 'update-kwsys'

e88f3b3b Merge branch 'upstream-kwsys' into update-kwsys
7c9afb57 KWSys 2015-02-27 (d2aa1afd)
This commit is contained in:
Brad King 2015-03-03 08:32:54 -05:00 committed by CMake Topic Stage
commit 9babde423c
1 changed files with 4 additions and 0 deletions

View File

@ -2375,6 +2375,10 @@ bool SystemTools::CopyFileAlways(const kwsys_stl::string& source, const kwsys_st
{
fout.write(buffer, fin.gcount());
}
else
{
break;
}
}
// Make sure the operating system has finished writing the file