diff options
author | Brad King <brad.king@kitware.com> | 2015-03-02 13:41:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-03-02 13:41:17 (GMT) |
commit | e88f3b3bcc18ec04e567025872f0008eea00c3a9 (patch) | |
tree | f9ab669c0332c72af1d44c57b4f38d5d98e24bf8 /Source/kwsys | |
parent | 56be75b3107b210631919c13496060d648f97b14 (diff) | |
parent | 7c9afb573844fdef0a8c29bb7f8c4474b910d83f (diff) | |
download | CMake-e88f3b3bcc18ec04e567025872f0008eea00c3a9.zip CMake-e88f3b3bcc18ec04e567025872f0008eea00c3a9.tar.gz CMake-e88f3b3bcc18ec04e567025872f0008eea00c3a9.tar.bz2 |
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index bf6f458..8a481d6 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -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 |