(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.5 and 1.6

version 1.5, 2002/07/17 22:46:55 version 1.6, 2002/08/27 23:38:44
Line 140 
Line 140 
     else     else
     {     {
         // Check if directory is writable         // Check if directory is writable
         Uint32 pos = fileName.reverseFind('/');          Uint32 index = fileName.reverseFind('/');
  
         if (pos != PEG_NOT_FOUND)          if (index != PEG_NOT_FOUND)
         {         {
             String dirName = fileName.subString(0,pos);              String dirName = fileName.subString(0,index);
             if (!FileSystem::isDirectory(dirName))             if (!FileSystem::isDirectory(dirName))
             {             {
                 return 0;                 return 0;


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2