diff options
author | KWSys Robot <kwrobot@kitware.com> | 2013-12-19 14:39:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-12-19 15:44:24 (GMT) |
commit | f788d9a1b27efc9b463b1174a93e780bef00a5d9 (patch) | |
tree | ad8871c410d7cc02d04c19be76465db32aab8dca /SystemTools.cxx | |
parent | 704ab3d24827cfe5754a00028086f21503c2e08b (diff) | |
download | CMake-f788d9a1b27efc9b463b1174a93e780bef00a5d9.zip CMake-f788d9a1b27efc9b463b1174a93e780bef00a5d9.tar.gz CMake-f788d9a1b27efc9b463b1174a93e780bef00a5d9.tar.bz2 |
KWSys 2013-12-19 (88165c5e)
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ 88165c5e | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 1010d0e3..88165c5e
Clinton Stimpson (2):
ab6f8c36 FStream: Fix rdbuf() return and use use of FStream in SystemTools.
88165c5e Encoding: Fix bug in kwsysEncoding_DupToNarrow.
Rolf Eike Beer (2):
d2bcbe11 SystemInformation: extract CPU information on Linux/Sparc
b2fd7da5 ProcessUNIX: close /proc entry before starting recursion
Ådne Hovda (1):
a02a1ad2 SystemInformation: Fix compilation on HP-UX 11.11 hppa
Change-Id: I225e0517379d88612f18215b43c7d6a9daad6326
Diffstat (limited to 'SystemTools.cxx')
-rw-r--r-- | SystemTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SystemTools.cxx b/SystemTools.cxx index 4649f3b..f4a443f 100644 --- a/SystemTools.cxx +++ b/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) |