diff options
author | Brad King <brad.king@kitware.com> | 2008-01-31 13:21:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-31 13:21:27 (GMT) |
commit | d81875fb87e297ffd8d73137fdb6d84023f58d6a (patch) | |
tree | 72b8d45d0cc3c61a349333313a807d0f268e4da9 /Source | |
parent | afd7d4ca4c5a4855b6f932af644e09a886b20a3d (diff) | |
download | CMake-d81875fb87e297ffd8d73137fdb6d84023f58d6a.zip CMake-d81875fb87e297ffd8d73137fdb6d84023f58d6a.tar.gz CMake-d81875fb87e297ffd8d73137fdb6d84023f58d6a.tar.bz2 |
COMP: Replace kwsys_stl:: with kwsys_ios:: for streams access.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SystemInformation.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index e86c262..64d4fa8 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -1807,7 +1807,7 @@ int SystemInformation::QueryMemory() int errorFlag = uname(&unameInfo); if( errorFlag!=0 ) { - kwsys_stl::cout << "Problem calling uname(): " << strerror(errno) << kwsys_stl::endl; + kwsys_ios::cout << "Problem calling uname(): " << strerror(errno) << kwsys_stl::endl; return 0; } @@ -1831,7 +1831,7 @@ int SystemInformation::QueryMemory() FILE *fd = fopen("/proc/meminfo", "r" ); if ( !fd ) { - kwsys_stl::cout << "Problem opening /proc/meminfo" << kwsys_stl::endl; + kwsys_ios::cout << "Problem opening /proc/meminfo" << kwsys_stl::endl; return 0; } @@ -2320,12 +2320,12 @@ kwsys_stl::string SystemInformation::RunProcess(kwsys_stl::vector<const char*> a } break; case kwsysProcess_State_Error: { - kwsys_stl::cerr << "Error: Could not run " << args[0] << ":\n"; - kwsys_stl::cerr << kwsysProcess_GetErrorString(gp) << "\n"; + kwsys_ios::cerr << "Error: Could not run " << args[0] << ":\n"; + kwsys_ios::cerr << kwsysProcess_GetErrorString(gp) << "\n"; } break; case kwsysProcess_State_Exception: { - kwsys_stl::cerr << "Error: " << args[0] + kwsys_ios::cerr << "Error: " << args[0] << " terminated with an exception: " << kwsysProcess_GetExceptionString(gp) << "\n"; } break; @@ -2335,7 +2335,7 @@ kwsys_stl::string SystemInformation::RunProcess(kwsys_stl::vector<const char*> a case kwsysProcess_State_Killed: { // Should not get here. - kwsys_stl::cerr << "Unexpected ending state after running " << args[0] + kwsys_ios::cerr << "Unexpected ending state after running " << args[0] << kwsys_stl::endl; } break; } |