(file) Return to System.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/System.cpp between version 1.47 and 1.47.4.1

version 1.47, 2006/12/13 10:09:29 version 1.47.4.1, 2007/02/15 16:23:30
Line 42 
Line 42 
 #include "Socket.h" #include "Socket.h"
 #include "Network.h" #include "Network.h"
 #include <Pegasus/Common/PegasusVersion.h> #include <Pegasus/Common/PegasusVersion.h>
   #include <Pegasus/Common/FileSystem.h>
  
 #if defined(PEGASUS_OS_TYPE_WINDOWS) #if defined(PEGASUS_OS_TYPE_WINDOWS)
 # include "SystemWindows.cpp" # include "SystemWindows.cpp"
Line 64 
Line 65 
 Boolean System::copyFile(const char* fromPath, const char* toPath) Boolean System::copyFile(const char* fromPath, const char* toPath)
 { {
     ifstream is(fromPath PEGASUS_IOS_BINARY);     ifstream is(fromPath PEGASUS_IOS_BINARY);
     ofstream os(toPath PEGASUS_IOS_BINARY);      fstream os(toPath, ios::out  PEGASUS_OR_IOS_BINARY);
  
     char c;     char c;
  
Line 74 
Line 75 
             return false;             return false;
     }     }
  
       FileSystem::syncWithDirectoryUpdates(os);
     return is.eof();     return is.eof();
 } }
  


Legend:
Removed from v.1.47  
changed lines
  Added in v.1.47.4.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2