summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/NodeI.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-05 03:45:23 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-05 03:45:23 +0000
commitc92972c738d538caca10fe31921d577c1f70ea4f (patch)
treede87b66756095437699460c062a4f8f91ab6a239 /cpp/src/IcePatch/NodeI.cpp
parentmore IcePatch stuff (diff)
downloadice-c92972c738d538caca10fe31921d577c1f70ea4f.tar.bz2
ice-c92972c738d538caca10fe31921d577c1f70ea4f.tar.xz
ice-c92972c738d538caca10fe31921d577c1f70ea4f.zip
more IcePatch stuff
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)
{