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

Diff for /pegasus/src/Pegasus/Common/TraceFileHandler.cpp between version 1.6 and 1.6.2.1

version 1.6, 2002/08/27 23:38:44 version 1.6.2.1, 2002/10/28 15:43:24
Line 140 
Line 140 
     else     else
     {     {
         // Check if directory is writable         // Check if directory is writable
         Uint32 index = fileName.reverseFind('/');          Uint32 pos = fileName.reverseFind('/');
  
         if (index != PEG_NOT_FOUND)          if (pos != PEG_NOT_FOUND)
         {         {
             String dirName = fileName.subString(0,index);              String dirName = fileName.subString(0,pos);
             if (!FileSystem::isDirectory(dirName))             if (!FileSystem::isDirectory(dirName))
             {             {
                 return 0;                 return 0;


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2