diff options
author | Brad King <brad.king@kitware.com> | 2015-03-03 13:32:54 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-03 13:32:54 (GMT) |
commit | 9babde423cfdbb06d154f4fa1c7b7ac795154aff (patch) | |
tree | 4a4f46064c939a004bf3b3035d8af277c2a4abea /Source | |
parent | 02611986539366644661138153ebf816a0febd61 (diff) | |
parent | e88f3b3bcc18ec04e567025872f0008eea00c3a9 (diff) | |
download | CMake-9babde423cfdbb06d154f4fa1c7b7ac795154aff.zip CMake-9babde423cfdbb06d154f4fa1c7b7ac795154aff.tar.gz CMake-9babde423cfdbb06d154f4fa1c7b7ac795154aff.tar.bz2 |
Merge topic 'update-kwsys'
e88f3b3b Merge branch 'upstream-kwsys' into update-kwsys
7c9afb57 KWSys 2015-02-27 (d2aa1afd)
Diffstat (limited to 'Source')
-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 |