X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1bf5ae378079e212f6918d09d87dec5420a0d6ec..2c1686d0b3dee0f327cda1b55ac7e42b21446416:/projects/stargazer/plugins/store/files/file_store.cpp diff --git a/projects/stargazer/plugins/store/files/file_store.cpp b/projects/stargazer/plugins/store/files/file_store.cpp index 556bf8cf..fe5ed230 100644 --- a/projects/stargazer/plugins/store/files/file_store.cpp +++ b/projects/stargazer/plugins/store/files/file_store.cpp @@ -438,7 +438,7 @@ mode_t FILES_STORE_SETTINGS::GetConfMode() const { return confMode; } -//----------------------------------------------------------------------------- +/*//----------------------------------------------------------------------------- mode_t FILES_STORE_SETTINGS::GetConfModeDir() const { mode_t mode = confMode; @@ -446,7 +446,7 @@ if (statMode & S_IRUSR) mode |= S_IXUSR; if (statMode & S_IRGRP) mode |= S_IXGRP; if (statMode & S_IROTH) mode |= S_IXOTH; return mode; -} +}*/ //----------------------------------------------------------------------------- uid_t FILES_STORE_SETTINGS::GetConfUID() const { @@ -1895,6 +1895,7 @@ if (fprintf(statFile, "-> %02d.%02d.%02d - %02d.%02d.%02d\n", STG_LOCKER lock(&mutex, __FILE__, __LINE__); errorStr = string("fprint failed. Message: '") + strerror(errno) + "'"; printfd(__FILE__, "FILES_STORE::WriteDetailStat - fprintf failed. Message: '%s'\n", strerror(errno)); + fclose(statFile); return -1; } @@ -2214,4 +2215,3 @@ fclose(msgFile); return 0; } //----------------------------------------------------------------------------- -