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/ServerI.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/ServerI.cpp')
-rw-r--r-- | cpp/src/IceGrid/ServerI.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp index 176c41f20c5..95f8927e495 100644 --- a/cpp/src/IceGrid/ServerI.cpp +++ b/cpp/src/IceGrid/ServerI.cpp @@ -17,7 +17,6 @@ #include <IceGrid/DescriptorHelper.h> #include <IcePatch2/Util.h> -#include <IcePatch2/OS.h> #include <IceUtil/FileUtil.h> #include <sys/types.h> @@ -97,8 +96,8 @@ chownRecursive(const string& path, uid_t uid, gid_t gid) { name = path + "/" + name; - IceInternal::OS::structstat buf; - if(IceInternal::OS::osstat(name, &buf) == -1) + IceUtilInternal::structstat buf; + if(IceUtilInternal::stat(name, &buf) == -1) { throw "cannot stat `" + name + "':\n" + IceUtilInternal::lastErrorToString(); } |