summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch2/Server.cpp')
-rw-r--r--cpp/src/IcePatch2/Server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/Server.cpp b/cpp/src/IcePatch2/Server.cpp
index b5a7a5f828d..c7aeeb9c3cc 100644
--- a/cpp/src/IcePatch2/Server.cpp
+++ b/cpp/src/IcePatch2/Server.cpp
@@ -9,6 +9,7 @@
#include <IceUtil/Options.h>
#include <IceUtil/StringUtil.h>
+#include <IceUtil/FileUtil.h>
#include <Ice/Service.h>
#include <IcePatch2/FileServerI.h>
#include <IcePatch2/Util.h>
@@ -118,7 +119,7 @@ IcePatch2::PatcherService::start(int argc, char* argv[])
try
{
- if(!isAbsolute(dataDir))
+ if(!IceUtilInternal::isAbsolutePath(dataDir))
{
string cwd;
if(OS::getcwd(cwd) != 0)