[cmake-commits] king committed SystemInformation.cxx 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 31 08:21:29 EST 2008


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv5041/Source/kwsys

Modified Files:
	SystemInformation.cxx 
Log Message:
COMP: Replace kwsys_stl:: with kwsys_ios:: for streams access.


Index: SystemInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemInformation.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- SystemInformation.cxx	31 Jan 2008 02:40:43 -0000	1.5
+++ SystemInformation.cxx	31 Jan 2008 13:21:27 -0000	1.6
@@ -1807,7 +1807,7 @@
   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 @@
   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 @@
       } 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 @@
     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;
     }



More information about the Cmake-commits mailing list