summaryrefslogtreecommitdiffstats
path: root/util/system/file.cpp
diff options
context:
space:
mode:
authorbreakneck <[email protected]>2022-02-10 16:47:58 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:58 +0300
commitf860932520ce9bc8540a3c19e84c0109c3437dc5 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util/system/file.cpp
parente2021f9a0e54d13b7c48796318b13b66dc625e74 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/file.cpp')
-rw-r--r--util/system/file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/file.cpp b/util/system/file.cpp
index 018878bb170..4a261d020cb 100644
--- a/util/system/file.cpp
+++ b/util/system/file.cpp
@@ -65,7 +65,7 @@ static bool IsStupidFlagCombination(EOpenMode oMode) {
TFileHandle::TFileHandle(const TString& fName, EOpenMode oMode) noexcept {
ui32 fcMode = 0;
- EOpenMode createMode = oMode & MaskCreation;
+ EOpenMode createMode = oMode & MaskCreation;
Y_VERIFY(!IsStupidFlagCombination(oMode), "oMode %d makes no sense", static_cast<int>(oMode));
if (!(oMode & MaskRW)) {
oMode |= RdWr;
@@ -854,7 +854,7 @@ public:
, FileName_(fName)
{
if (!Handle_.IsOpen()) {
- ythrow TFileError() << "can't open " << fName.Quote() << " with mode " << DecodeOpenMode(oMode) << " (" << Hex(oMode.ToBaseType()) << ")";
+ ythrow TFileError() << "can't open " << fName.Quote() << " with mode " << DecodeOpenMode(oMode) << " (" << Hex(oMode.ToBaseType()) << ")";
}
}