summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/NodeI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch/NodeI.cpp')
-rw-r--r--cpp/src/IcePatch/NodeI.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/IcePatch/NodeI.cpp b/cpp/src/IcePatch/NodeI.cpp
index abbc06b0cd4..02cea3d9e93 100644
--- a/cpp/src/IcePatch/NodeI.cpp
+++ b/cpp/src/IcePatch/NodeI.cpp
@@ -44,6 +44,11 @@ IcePatch::DirectoryI::getContents(const Ice::Current& current)
StringSeq::const_iterator p;
for (p = paths.begin(); p != paths.end(); ++p)
{
+ if (pathToName(*p) == tmpName)
+ {
+ continue;
+ }
+
string suffix = getSuffix(*p);
if (suffix == "md5" || suffix == "bz2")
{
@@ -81,6 +86,12 @@ IcePatch::FileI::describe(const Ice::Current& current)
return desc;
}
+Int
+IcePatch::FileI::getSizeBZ2(const Ice::Current& current)
+{
+ return IcePatch::getSizeBZ2(identityToPath(current.identity));
+}
+
ByteSeq
IcePatch::FileI::getBytesBZ2(Ice::Int pos, Ice::Int num, const Ice::Current& current)
{