Merge pull request #99 from archshift/ext-check
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
This commit is contained in:
commit
532a9e80a0
17 changed files with 103 additions and 98 deletions
|
@ -139,7 +139,7 @@ void MemArena::GrabLowMemSpace(size_t size)
|
|||
// a bit more.
|
||||
for (int i = 0; i < 10000; i++)
|
||||
{
|
||||
std::string file_name = StringFromFormat("/citramem.%d", i);
|
||||
std::string file_name = Common::StringFromFormat("/citramem.%d", i);
|
||||
fd = shm_open(file_name.c_str(), O_RDWR | O_CREAT | O_EXCL, 0600);
|
||||
if (fd != -1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue