summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-10-10 14:43:59 (GMT)
committerBrad King <brad.king@kitware.com>2002-10-10 14:43:59 (GMT)
commit281f7519e1707bd30ce8f9368b7515396f713af9 (patch)
tree560dd62bf62c26753d47b870c405677bb30eceb0 /Source/cmSystemTools.cxx
parent65cc289047fc2a4b444838c690d9bd45eca04f7e (diff)
downloadCMake-281f7519e1707bd30ce8f9368b7515396f713af9.zip
CMake-281f7519e1707bd30ce8f9368b7515396f713af9.tar.gz
CMake-281f7519e1707bd30ce8f9368b7515396f713af9.tar.bz2
ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 9512179..1941165 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1083,7 +1083,7 @@ bool cmSystemTools::FilesDiffer(const char* source,
if(statSource.st_size != static_cast<long>(finSource.gcount()) ||
statSource.st_size != static_cast<long>(finDestination.gcount()))
{
- cmStringStream msg;
+ cmOStringStream msg;
msg << "FilesDiffer failed to read files (allocated: "
<< statSource.st_size << ", read source: " << finSource.gcount()
<< ", read dest: " << finDestination.gcount();
@@ -1190,7 +1190,7 @@ void cmSystemTools::cmCopyFile(const char* source,
if (statSource.st_size != statDestination.st_size)
{
- cmStringStream msg;
+ cmOStringStream msg;
msg << "CopyFile failed to copy files (sizes differ, source: "
<< statSource.st_size << " , dest: " << statDestination.st_size;
cmSystemTools::Error(msg.str().c_str());
@@ -1426,7 +1426,7 @@ bool RunCommandViaPopen(const char* command,
if (WIFSIGNALED(retVal))
{
retVal = WTERMSIG(retVal);
- cmStringStream error;
+ cmOStringStream error;
error << "\nProcess terminated due to ";
switch (retVal)
{