diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-05 15:48:46 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-05 15:48:46 +0000 |
commit | 22a89af145cfe3fd5fe9817ddd36c0191563cc67 (patch) | |
tree | 9d94fefa6080f0b4d81688a5617ee5a5302cbce9 /cpp/src/IcePatch/Server.cpp | |
parent | fixes (diff) | |
download | ice-22a89af145cfe3fd5fe9817ddd36c0191563cc67.tar.bz2 ice-22a89af145cfe3fd5fe9817ddd36c0191563cc67.tar.xz ice-22a89af145cfe3fd5fe9817ddd36c0191563cc67.zip |
more icepatch work
Diffstat (limited to 'cpp/src/IcePatch/Server.cpp')
-rw-r--r-- | cpp/src/IcePatch/Server.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/cpp/src/IcePatch/Server.cpp b/cpp/src/IcePatch/Server.cpp index 8f83ba69a04..bb7029dfec7 100644 --- a/cpp/src/IcePatch/Server.cpp +++ b/cpp/src/IcePatch/Server.cpp @@ -128,12 +128,6 @@ IcePatch::Server::run(int argc, char* argv[]) adapter->addServantLocator(fileLocator, "IcePatch"); // - // Create the "info" Ice Object. - // - InfoPtr info = new InfoI(adapter); - adapter->add(info, pathToIdentity(".icepatch")); // .icepatch is reserved, so lets use this for info identity. - - // // Start the updater if an update period is set. // UpdaterPtr updater; @@ -255,6 +249,13 @@ IcePatch::Updater::cleanup(const FileDescSeq& fileDescSeq) // removed. // cleanup(directoryDesc->directory->getContents()); + + // + // Call describe(), because MD5 files in subdirectories + // might have changed, resulting in a different summary + // MD5 for this directory. + // + directoryDesc->directory->describe(); } else { @@ -262,7 +263,7 @@ IcePatch::Updater::cleanup(const FileDescSeq& fileDescSeq) assert(regularDesc); // - // Force BZ2 files to be created. + // Force BZ2 files to be created for all regular files. // regularDesc->regular->getBZ2Size(); } |