summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/ClientUtil.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-06-06 12:46:58 -0230
committerBenoit Foucher <benoit@zeroc.com>2008-06-06 17:54:49 +0200
commita9169f12e8417b91a7dcfea3b678d09ed2697b62 (patch)
tree2e072cc1d8319a7ce213590e9e15c719f5b29ab9 /cpp/src/IcePatch2/ClientUtil.cpp
parent- Fixed bug 3242 (diff)
downloadice-a9169f12e8417b91a7dcfea3b678d09ed2697b62.tar.bz2
ice-a9169f12e8417b91a7dcfea3b678d09ed2697b62.tar.xz
ice-a9169f12e8417b91a7dcfea3b678d09ed2697b62.zip
Bug 3014 - isAbsolute incorrect
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rw-r--r--cpp/src/IcePatch2/ClientUtil.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp
index 88d5f907633..072e35e0ed2 100644
--- a/cpp/src/IcePatch2/ClientUtil.cpp
+++ b/cpp/src/IcePatch2/ClientUtil.cpp
@@ -9,6 +9,7 @@
#include <IceUtil/Unicode.h>
#include <IceUtil/StringUtil.h>
+#include <IceUtil/FileUtil.h>
#define ICE_PATCH2_API_EXPORTS
#include <IcePatch2/ClientUtil.h>
#include <IcePatch2/Util.h>
@@ -611,7 +612,7 @@ IcePatch2::Patcher::init(const FileServerPrx& server)
const_cast<Int&>(_chunkSize) *= 1024;
}
- if(!isAbsolute(_dataDir))
+ if(!IceUtilInternal::isAbsolutePath(_dataDir))
{
string cwd;
if(OS::getcwd(cwd) != 0)