1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Add comment explaining reasoning behind our own getumask()

This commit is contained in:
Michał Janiszewski
2018-01-18 22:47:10 +01:00
parent c6e2f1a6ea
commit a634b7e2cb

View File

@@ -152,6 +152,8 @@ bool platform_original_game_data_exists(const utf8 *path)
return platform_file_exists(checkPath);
}
// Implement our own version of getumask(), as it is documented being
// "a vaporware GNU extension".
static mode_t openrct2_getumask()
{
mode_t mask = umask(0);