mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
Merge remote-tracking branch 'check/next-cc'
Lightly tested only...
Origin commit data
------------------
Branch: ni/coolstream
Commit: cdd065fc2e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-12-25 (Wed, 25 Dec 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -539,14 +539,8 @@ bool CFileHelpers::createDir(const char *Dir, mode_t mode)
|
||||
createDir(dirPath, mode);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (ret == 0)
|
||||
return true;
|
||||
if (errno == EEXIST)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
else
|
||||
return !ret || (errno == EEXIST);
|
||||
}
|
||||
errno = 0;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user