summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/IcePatchI.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-26 23:24:58 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-26 23:24:58 +0000
commit844ec1a60c75b883e44cc8906e536b7fba3509a0 (patch)
treed431701690080bd2227b8f04a6d47548020a95e9 /cpp/src/IcePatch/IcePatchI.cpp
parentconst correctness (diff)
downloadice-844ec1a60c75b883e44cc8906e536b7fba3509a0.tar.bz2
ice-844ec1a60c75b883e44cc8906e536b7fba3509a0.tar.xz
ice-844ec1a60c75b883e44cc8906e536b7fba3509a0.zip
case insensitivity fixes
Diffstat (limited to 'cpp/src/IcePatch/IcePatchI.cpp')
-rw-r--r--cpp/src/IcePatch/IcePatchI.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/src/IcePatch/IcePatchI.cpp b/cpp/src/IcePatch/IcePatchI.cpp
index 9dc64f5e8d6..a60480e652d 100644
--- a/cpp/src/IcePatch/IcePatchI.cpp
+++ b/cpp/src/IcePatch/IcePatchI.cpp
@@ -35,9 +35,9 @@ FileDescPtr
IcePatch::DirectoryI::describe(const Ice::Current& current)
{
// No lock necessary.
- string path = identityToPath(current.identity);
+ string path = identityToPath(current.id);
DirectoryDescPtr desc = new DirectoryDesc;
- desc->directory = DirectoryPrx::uncheckedCast(_adapter->createProxy(current.identity));
+ desc->directory = DirectoryPrx::uncheckedCast(_adapter->createProxy(current.id));
return desc;
}
@@ -50,7 +50,7 @@ IcePatch::DirectoryI::getContents(const Ice::Current& current)
{
IceUtil::RWRecMutex::TryRLock sync(_globalMutex, _busyTimeout);
bool syncUpgraded = false;
- string path = identityToPath(current.identity);
+ string path = identityToPath(current.id);
StringSeq paths = readDirectory(path);
filteredPaths.reserve(paths.size() / 3);
for(StringSeq::const_iterator p = paths.begin(); p != paths.end(); ++p)
@@ -127,7 +127,7 @@ IcePatch::RegularI::describe(const Ice::Current& current)
try
{
IceUtil::RWRecMutex::TryRLock sync(_globalMutex, _busyTimeout);
- string path = identityToPath(current.identity);
+ string path = identityToPath(current.id);
FileInfo info = getFileInfo(path, true);
FileInfo infoMD5 = getFileInfo(path + ".md5", false);
@@ -148,7 +148,7 @@ IcePatch::RegularI::describe(const Ice::Current& current)
}
RegularDescPtr desc = new RegularDesc;
- desc->regular = RegularPrx::uncheckedCast(_adapter->createProxy(current.identity));
+ desc->regular = RegularPrx::uncheckedCast(_adapter->createProxy(current.id));
desc->md5 = getMD5(path);
return desc;
}
@@ -164,7 +164,7 @@ IcePatch::RegularI::getBZ2Size(const Ice::Current& current)
try
{
IceUtil::RWRecMutex::TryRLock sync(_globalMutex, _busyTimeout);
- string path = identityToPath(current.identity);
+ string path = identityToPath(current.id);
FileInfo info = getFileInfo(path, true);
FileInfo infoBZ2 = getFileInfo(path + ".bz2", false);
@@ -203,7 +203,7 @@ IcePatch::RegularI::getBZ2(Ice::Int pos, Ice::Int num, const Ice::Current& curre
try
{
IceUtil::RWRecMutex::TryRLock sync(_globalMutex, _busyTimeout);
- string path = identityToPath(current.identity);
+ string path = identityToPath(current.id);
FileInfo info = getFileInfo(path, true);
FileInfo infoBZ2 = getFileInfo(path + ".bz2", false);
@@ -237,7 +237,7 @@ IcePatch::RegularI::getBZ2MD5(Ice::Int size, const Ice::Current& current)
try
{
IceUtil::RWRecMutex::TryRLock sync(_globalMutex, _busyTimeout);
- string path = identityToPath(current.identity);
+ string path = identityToPath(current.id);
FileInfo info = getFileInfo(path, true);
FileInfo infoBZ2 = getFileInfo(path + ".bz2", false);