git-svn-id: svn://db.shs.com.ru/pip@742 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-08 16:16:08 +00:00
parent efdae74078
commit 940274e378
2 changed files with 6 additions and 6 deletions

View File

@@ -724,7 +724,7 @@ bool PIFile::applyFileInfo(const PIString & path, const PIFile::FileInfo & info)
}
CloseHandle(hFile);
#else
#ifndef ESP_PLATFORM
//#ifndef ESP_PLATFORM
int mode(0);
if (info.perm_user.read) mode |= S_IRUSR;
if (info.perm_user.write) mode |= S_IWUSR;
@@ -754,7 +754,7 @@ bool PIFile::applyFileInfo(const PIString & path, const PIFile::FileInfo & info)
piCout << "[PIFile] applyFileInfo: \"utimes\" error:" << errorString();
//return false;
}
#endif
//#endif
#endif
return true;
}