Merge branch 'backport-KWSys-SystemTools-CopyFileAlways-fix' into release
This commit is contained in:
commit
eb3bced50f
@ -2330,6 +2330,10 @@ bool SystemTools::CopyFileAlways(const kwsys_stl::string& source, const kwsys_st
|
|||||||
{
|
{
|
||||||
fout.write(buffer, fin.gcount());
|
fout.write(buffer, fin.gcount());
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure the operating system has finished writing the file
|
// Make sure the operating system has finished writing the file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user