summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/FileServerI.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/FileServerI.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/FileServerI.cpp')
-rw-r--r--cpp/src/IcePatch2/FileServerI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/FileServerI.cpp b/cpp/src/IcePatch2/FileServerI.cpp
index 49c6423df41..ac46286e001 100644
--- a/cpp/src/IcePatch2/FileServerI.cpp
+++ b/cpp/src/IcePatch2/FileServerI.cpp
@@ -8,6 +8,7 @@
// **********************************************************************
#include <IceUtil/DisableWarnings.h>
+#include <IceUtil/FileUtil.h>
#include <IceUtil/ScopedArray.h>
#include <IceUtil/Unicode.h>
#include <IcePatch2/FileServerI.h>
@@ -64,7 +65,7 @@ void
IcePatch2::FileServerI::getFileCompressed_async(const AMD_FileServer_getFileCompressedPtr& cb,
const string& pa, Int pos, Int num, const Current&) const
{
- if(isAbsolute(pa))
+ if(IceUtilInternal::isAbsolutePath(pa))
{
FileAccessException ex;
ex.reason = "illegal absolute path `" + pa + "'";