Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Persistency::FileSystem::DoMkDir ( CString  dir  )  [inline, private]

Definition at line 267 of file FileSystem.h.

References ILOG_ERROR, and Impala::StringReplaceAll().

Referenced by DoMkDirPathLocal().

00268     {
00269 #ifdef unix
00270         mode_t m = 0755;
00271         mkdir(dir.c_str(), m);
00272 #else
00273         if ((_mkdir(StringReplaceAll(dir, "/", "\\").c_str()) != 0) && 
00274             (errno != EEXIST))
00275         {
00276             ILOG_ERROR("[DoMkDir] Failed to create directory: " << dir << 
00277                        " (" << strerror(errno) << ")");
00278         }
00279 #endif
00280     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:52 2011 for ImpalaSrc by  doxygen 1.5.1