diff options
author | Jose <jose@zeroc.com> | 2009-08-12 17:59:22 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-08-12 17:59:22 +0200 |
commit | e33a0af8f6fef372c9f8bec22629b1460d2e8c70 (patch) | |
tree | 67c9e68437084d255a3725dd08092f5892023b26 /cpp/src/IceGrid/NodeI.cpp | |
parent | 2564 - removeServantLocator remaining issues. (diff) | |
download | ice-e33a0af8f6fef372c9f8bec22629b1460d2e8c70.tar.bz2 ice-e33a0af8f6fef372c9f8bec22629b1460d2e8c70.tar.xz ice-e33a0af8f6fef372c9f8bec22629b1460d2e8c70.zip |
4071 - merge contents of OS.cpp/OS.h into FileUtil.h/FileUtil.cpp.
Diffstat (limited to 'cpp/src/IceGrid/NodeI.cpp')
-rw-r--r-- | cpp/src/IceGrid/NodeI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/NodeI.cpp b/cpp/src/IceGrid/NodeI.cpp index 5303d82acb9..5119528026d 100644 --- a/cpp/src/IceGrid/NodeI.cpp +++ b/cpp/src/IceGrid/NodeI.cpp @@ -8,9 +8,9 @@ // ********************************************************************** #include <IceUtil/Timer.h> +#include <IceUtil/FileUtil.h> #include <Ice/Ice.h> #include <IcePatch2/Util.h> -#include <IcePatch2/OS.h> #include <IcePatch2/ClientUtil.h> #include <IceGrid/NodeI.h> #include <IceGrid/Activator.h> @@ -1153,8 +1153,8 @@ NodeI::removeServer(const ServerIPtr& server, const std::string& application) _serversByApplication.erase(p); string appDir = _dataDir + "/distrib/" + application; - IceInternal::OS::structstat buf; - if(IceInternal::OS::osstat(appDir, &buf) != -1 && S_ISDIR(buf.st_mode)) + IceUtilInternal::structstat buf; + if(IceUtilInternal::stat(appDir, &buf) != -1 && S_ISDIR(buf.st_mode)) { try { |