Merge branch 'upstream-kwsys' into update-kwsys

This commit is contained in:
Brad King 2015-03-02 08:41:17 -05:00
commit e88f3b3bcc
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