X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsetup.c;h=626bb1f9e2d2475074a7e2042127dea37cdcbf9a;hb=fe57866d9aa0cc2ebf48411eaf7bb4180cf85a84;hp=ccac1c30e261239c8ef27859cf51939003923f75;hpb=64e7c54dce6ea8c063f04198c64c5057d751c928;p=rocksndiamonds.git diff --git a/src/libgame/setup.c b/src/libgame/setup.c index ccac1c30..626bb1f9 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -1559,8 +1559,8 @@ void createDirectory(char *dir, char *text, int permission_class) if (directoryExists(dir)) return; - /* leave "other" permissions in umask untouched, but ensure group parts - of USERDATA_DIR_MODE are not masked */ + // leave "other" permissions in umask untouched, but ensure group parts + // of USERDATA_DIR_MODE are not masked mode_t dir_mode = (permission_class == PERMS_PRIVATE ? DIR_PERMS_PRIVATE : DIR_PERMS_PUBLIC); mode_t last_umask = posix_umask(0); @@ -2036,9 +2036,9 @@ static boolean getTokenValueFromSetupLineExt(char *line, boolean getTokenValueFromSetupLine(char *line, char **token, char **value) { - /* while the internal (old) interface does not require a token/value - separator (for downwards compatibility with existing files which - don't use them), it is mandatory for the external (new) interface */ + // while the internal (old) interface does not require a token/value + // separator (for downwards compatibility with existing files which + // don't use them), it is mandatory for the external (new) interface return getTokenValueFromSetupLineExt(line, token, value, NULL, NULL, 0, TRUE); }