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

Diff for /pegasus/src/Pegasus/Common/FileSystem.h between version 1.41 and 1.42

version 1.41, 2006/10/03 15:27:13 version 1.42, 2006/11/08 22:24:00
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Mike Brasher (mbrasher@bmc.com)  
 //  
 // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)  
 //              David Dillard, VERITAS Software Corp.  
 //                  (david.dillard@veritas.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #ifndef Pegasus_FileSystem_h #ifndef Pegasus_FileSystem_h
Line 336 
Line 330 
        @return the full absolute pathname to the found filename or an empty        @return the full absolute pathname to the found filename or an empty
        string on failure.        string on failure.
     */     */
     static String getAbsoluteFileName(const String &paths, const String &filename);      static String getAbsoluteFileName(
           const String& paths,
           const String& filename);
  
     /**     /**
         Convert a library name to its corresponding file name by adding the         Convert a library name to its corresponding file name by adding the
Line 348 
Line 344 
     */     */
     static String buildLibraryFileName(const String &libraryName);     static String buildLibraryFileName(const String &libraryName);
  
     static Boolean changeFileOwner(const String& fileName,const String& userName);      static Boolean changeFileOwner(
           const String& fileName,
           const String& userName);
   
 private: private:
  
     FileSystem() { }     FileSystem() { }
Line 455 
Line 454 
 inline Boolean OpenAppend(PEGASUS_STD(ofstream)& os, const String& path) inline Boolean OpenAppend(PEGASUS_STD(ofstream)& os, const String& path)
 { {
 #if defined(PEGASUS_OS_OS400) #if defined(PEGASUS_OS_OS400)
     os.open(path.getCString(), PEGASUS_STD(ios::app), PEGASUS_STD(_CCSID_T(1208)));      os.open(
           path.getCString(), PEGASUS_STD(ios::app), PEGASUS_STD(_CCSID_T(1208)));
 #else #else
     os.open(path.getCString(), PEGASUS_STD(ios::app));     os.open(path.getCString(), PEGASUS_STD(ios::app));
 #endif #endif


Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2