summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-07 14:39:17 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-07 14:39:17 (GMT)
commit3a024ce0d8aeec991297b7997a872093176e373e (patch)
treea9f0f79d5ae489ccb3d352ce71f1d0f8c81354aa /Source/cmMakefile.cxx
parent91dcc9bef390f6644e1a357ed2226f350742f49b (diff)
parent5730710c86e5b844c48e17e9001647ae0aa841a3 (diff)
downloadCMake-3a024ce0d8aeec991297b7997a872093176e373e.zip
CMake-3a024ce0d8aeec991297b7997a872093176e373e.tar.gz
CMake-3a024ce0d8aeec991297b7997a872093176e373e.tar.bz2
Merge topic 'unicode-fstream'
5730710 Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 6883f57..35b65b4 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -34,7 +34,7 @@
#include <stdlib.h> // required for atoi
#include <cmsys/RegularExpression.hxx>
-
+#include <cmsys/FStream.hxx>
#include <cmsys/auto_ptr.hxx>
#include <stack>
@@ -3499,7 +3499,7 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile,
}
std::string tempOutputFile = soutfile;
tempOutputFile += ".tmp";
- std::ofstream fout(tempOutputFile.c_str(), omode);
+ cmsys::ofstream fout(tempOutputFile.c_str(), omode);
if(!fout)
{
cmSystemTools::Error(
@@ -3508,7 +3508,7 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile,
cmSystemTools::ReportLastSystemError("");
return 0;
}
- std::ifstream fin(sinfile.c_str());
+ cmsys::ifstream fin(sinfile.c_str());
if(!fin)
{
cmSystemTools::Error("Could not open file for read in copy operation ",