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

Diff for /pegasus/src/Pegasus/Repository/AssocClassTable.cpp between version 1.27 and 1.27.4.1

version 1.27, 2008/06/19 17:49:53 version 1.27.4.1, 2009/02/04 09:18:42
Line 240 
Line 240 
     if (!FileSystem::removeFile(path))     if (!FileSystem::removeFile(path))
         throw CannotRemoveFile(path);         throw CannotRemoveFile(path);
  
     // Rename back to original name:      // Rename back to original if tmp file is not empty
       Uint32 size = 0;
       Boolean gotFileSize = FileSystem::getFileSize(tmpPath, size);
       if (size || !gotFileSize)
       {
     if (!FileSystem::renameFile(tmpPath, path))     if (!FileSystem::renameFile(tmpPath, path))
           {
         throw CannotRenameFile(path);         throw CannotRenameFile(path);
           }
       }
       else
       {
           // Delete tmp and original files
           FileSystem::removeFile(tmpPath);
           FileSystem::removeFile(path);
       }
  
     // Update cache     // Update cache
     if (found)     if (found)


Legend:
Removed from v.1.27  
changed lines
  Added in v.1.27.4.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2