mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
more char* -> std::string conversions
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
@@ -535,14 +535,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