summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Util.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-03-12 13:05:18 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-03-12 13:05:18 -0230
commitfa5caf663db2f76be52a13bc67a35f8d95e859c5 (patch)
treea37b588b0c441d3f8b30f5397fa8454507d3ff32 /cpp/src/Slice/Util.cpp
parentBug 3832 - fix slice compilation of UNC files (diff)
downloadice-fa5caf663db2f76be52a13bc67a35f8d95e859c5.tar.bz2
ice-fa5caf663db2f76be52a13bc67a35f8d95e859c5.tar.xz
ice-fa5caf663db2f76be52a13bc67a35f8d95e859c5.zip
Added known issue wrt UNC paths
Diffstat (limited to 'cpp/src/Slice/Util.cpp')
-rw-r--r--cpp/src/Slice/Util.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Slice/Util.cpp b/cpp/src/Slice/Util.cpp
index a4a21e50efa..dffbef6523b 100644
--- a/cpp/src/Slice/Util.cpp
+++ b/cpp/src/Slice/Util.cpp
@@ -30,6 +30,10 @@ normalizePath(const string& path)
string::size_type pos;
string::size_type startReplace = 0;
#ifdef _WIN32
+ //
+ // For UNC paths we need to ensure they are in the format that is
+ // returned by MCPP. IE. "//MACHINE/PATH"
+ //
if(result.find("//") == 0)
{
startReplace = 2;