diff options
author | muzykantov <[email protected]> | 2022-02-10 16:51:51 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:51:51 +0300 |
commit | fffc5498228bac1ad41ed40b9b7f5cb453796ba8 (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/fstat.cpp | |
parent | 8057fea3b8c36263516f0a7e1a01fdf7380764a4 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 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 b4031c27fe4..81e98cbc6bb 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; } |