diff options
author | Brad King <brad.king@kitware.com> | 2013-12-19 15:44:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-12-19 15:44:29 (GMT) |
commit | 2a943d9264c995f3d2c55b3da202b88f67329750 (patch) | |
tree | 16a35312f8ad76d32c33492ce3ca53a353477400 /Source/kwsys/SystemTools.cxx | |
parent | b375c18b9ea256e2e9a05fd8465c6d90b86b6f5b (diff) | |
parent | f788d9a1b27efc9b463b1174a93e780bef00a5d9 (diff) | |
download | CMake-2a943d9264c995f3d2c55b3da202b88f67329750.zip CMake-2a943d9264c995f3d2c55b3da202b88f67329750.tar.gz CMake-2a943d9264c995f3d2c55b3da202b88f67329750.tar.bz2 |
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 4649f3b..f4a443f 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -2115,10 +2115,10 @@ bool SystemTools::CopyFileAlways(const char* source, const char* destination) SystemTools::RemoveFile(destination); #if defined(_WIN32) || defined(__CYGWIN__) - kwsys_ios::ofstream fout(destination, + kwsys::ofstream fout(destination, kwsys_ios::ios::binary | kwsys_ios::ios::out | kwsys_ios::ios::trunc); #else - kwsys_ios::ofstream fout(destination, + kwsys::ofstream fout(destination, kwsys_ios::ios::out | kwsys_ios::ios::trunc); #endif if(!fout) |