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

Diff for /pegasus/src/Pegasus/Common/FileSystem.cpp between version 1.44 and 1.46

version 1.44, 2003/08/12 18:01:01 version 1.46, 2003/10/22 14:26:03
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2003////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
 // The Open Group, Tivoli Systems  // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
   // IBM Corp.; EMC Corporation, The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 234 
Line 236 
     if (!existsNoCase(path, realPath))     if (!existsNoCase(path, realPath))
         return false;         return false;
  
 #if defined(PEGASUS_OS_OS400)  
     CString tempPath = _clonePath(realPath);  
     const char * tmp = tempPath;  
     AtoE((char *)tmp);  
     is.open(tmp PEGASUS_IOS_BINARY);  
 #else  
     is.open(_clonePath(realPath) PEGASUS_IOS_BINARY);     is.open(_clonePath(realPath) PEGASUS_IOS_BINARY);
 #endif  
  
     return !!is;     return !!is;
 } }
Line 259 
Line 254 
     fs.open(_clonePath(realPath), PEGASUS_STD(ios_base::openmode)(mode));     fs.open(_clonePath(realPath), PEGASUS_STD(ios_base::openmode)(mode));
 #else #else
 #if defined(PEGASUS_OS_OS400) #if defined(PEGASUS_OS_OS400)
     CString tempPath = _clonePath(realPath);      fs.open(_clonePath(realPath), mode, PEGASUS_STD(_CCSID_T(1208)) );
     const char * tmp = tempPath;  
     AtoE((char *)tmp);  
     fs.open(tmp, mode, PEGASUS_STD(_CCSID_T(1208)) );  
 #else #else
     fs.open(_clonePath(realPath), mode);     fs.open(_clonePath(realPath), mode);
 #endif #endif


Legend:
Removed from v.1.44  
changed lines
  Added in v.1.46

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2