summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Util.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-06 03:22:10 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-06 03:22:10 +0000
commit4da389f729a840f989401bb5e265233b43619489 (patch)
tree5e7089d55212b1681cfe2cfaca71583f9d8acd1c /cpp/src/IcePatch/Util.cpp
parentfixes to collocation detection; removed INADDR_ANY; other fixes (diff)
downloadice-4da389f729a840f989401bb5e265233b43619489.tar.bz2
ice-4da389f729a840f989401bb5e265233b43619489.tar.xz
ice-4da389f729a840f989401bb5e265233b43619489.zip
fixes
Diffstat (limited to 'cpp/src/IcePatch/Util.cpp')
-rw-r--r--cpp/src/IcePatch/Util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IcePatch/Util.cpp b/cpp/src/IcePatch/Util.cpp
index 3c69a39b63e..1d11153c11a 100644
--- a/cpp/src/IcePatch/Util.cpp
+++ b/cpp/src/IcePatch/Util.cpp
@@ -431,6 +431,7 @@ IcePatch::createMD5(const string& path)
// is done so that there can be no partial MD5 files after an
// abortive application termination.
//
+ ::remove(pathMD5.c_str());
if (rename(tmpName.c_str(), pathMD5.c_str()) == -1)
{
NodeAccessException ex;
@@ -666,6 +667,7 @@ IcePatch::createBZ2(const string& path)
// is done so that there can be no partial BZ2 files after an
// abortive application termination.
//
+ ::remove(pathBZ2.c_str());
if (rename(tmpName.c_str(), pathBZ2.c_str()) == -1)
{
NodeAccessException ex;