diff options
author | muzykantov <muzykantov@yandex-team.ru> | 2022-02-10 16:51:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:51 +0300 |
commit | 8057fea3b8c36263516f0a7e1a01fdf7380764a4 (patch) | |
tree | 6779fe8add30e9ac4a20f6544fbe3a44d8bddd78 /util/system/fstat.cpp | |
parent | a1e678842b5411fd2702d0495a01feb479043baa (diff) | |
download | ydb-8057fea3b8c36263516f0a7e1a01fdf7380764a4.tar.gz |
Restoring authorship annotation for <muzykantov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/fstat.cpp')
-rw-r--r-- | util/system/fstat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/fstat.cpp b/util/system/fstat.cpp index 81e98cbc6b..b4031c27fe 100644 --- a/util/system/fstat.cpp +++ b/util/system/fstat.cpp @@ -27,8 +27,8 @@ ui32 GetFileMode(DWORD fileAttributes) { mode |= _S_IFDIR; if (fileAttributes & (FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_ARCHIVE)) mode |= _S_IFREG; - if ((fileAttributes & FILE_ATTRIBUTE_READONLY) == 0) - mode |= _S_IWRITE; + if ((fileAttributes & FILE_ATTRIBUTE_READONLY) == 0) + mode |= _S_IWRITE; return mode; } |