Merge pull request #1046 from Nekotekina/new_interpreter

Alternative interpreters
This commit is contained in:
B1ackDaemon 2015-04-04 20:03:18 +03:00
commit 952098c00f
26 changed files with 6993 additions and 167 deletions

View file

@ -128,7 +128,7 @@ bool rRename(const std::string &from, const std::string &to)
#ifdef _WIN32
if (!MoveFile(ConvertUTF8ToWString(from).c_str(), ConvertUTF8ToWString(to).c_str()))
#else
if (rename(from.c_str(), to.c_str()))
if (int err = rename(from.c_str(), to.c_str()))
#endif
{
LOG_ERROR(GENERAL, "Error renaming '%s' to '%s': 0x%llx", from.c_str(), to.c_str(), (u64)GET_API_ERROR);