351 ostringstream corruptName;
354 corruptName <<
fFileName <<
"corrupt" << append;
355 while (!stat(corruptName.str().c_str(), &st))
359 corruptName <<
fFileName <<
"corrupt" << append;
361 if (rename(
fFileName.c_str(), corruptName.str().c_str()) != 0)
364 str <<
"rename() failed for '" <<
fFileName <<
"': " << strerror(errno) <<
" [errno=" << errno <<
"]";
MessageImp * fMess
were to log the errors
int Error(const std::string &str)
int Message(const std::string &str)