summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeCache.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-05-07 11:32:19 -0230
committerDwayne Boone <dwayne@zeroc.com>2008-05-07 11:32:19 -0230
commita953b179a205fc00405ba3b24b955a5b2243efd0 (patch)
tree40ac3e26d3e3da3088de8b205966483dc4e80d10 /cpp/src/IceGrid/NodeCache.cpp
parentbug 2080 - slice2html generates wrong image links for nested modules. (diff)
downloadice-a953b179a205fc00405ba3b24b955a5b2243efd0.tar.bz2
ice-a953b179a205fc00405ba3b24b955a5b2243efd0.tar.xz
ice-a953b179a205fc00405ba3b24b955a5b2243efd0.zip
Bug 2073 - support UNC paths on Windows
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.cpp')
-rw-r--r--cpp/src/IceGrid/NodeCache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/NodeCache.cpp b/cpp/src/IceGrid/NodeCache.cpp
index 5bdb1e12b75..812cb1977df 100644
--- a/cpp/src/IceGrid/NodeCache.cpp
+++ b/cpp/src/IceGrid/NodeCache.cpp
@@ -932,7 +932,8 @@ NodeEntry::getInternalServerDescriptor(const ServerInfo& info) const
{
ServiceDescriptorPtr s = p->descriptor;
const string path = _session->getInfo()->dataDir + "/servers/" + server->id + "/config/config_" + s->name;
- props.push_back(createProperty("IceBox.Service." + s->name, s->entry + " --Ice.Config=\"" + path + "\""));
+ props.push_back(createProperty("IceBox.Service." + s->name, s->entry + " --Ice.Config='" +
+ escapeProperty(path) + "'"));
servicesStr += s->name + " ";
}
if(!hasProperty(info.descriptor->propertySet.properties, "IceBox.InstanceName"))