diff options
author | vayerx <[email protected]> | 2022-02-10 16:52:04 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:52:04 +0300 |
commit | b3f694bf40fc2866a161b2d25911171879b7ef18 (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/folder/dirut.cpp | |
parent | d40bf94919f2035f1f522c4a285adce76f8f4edc (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/folder/dirut.cpp')
-rw-r--r-- | util/folder/dirut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/folder/dirut.cpp b/util/folder/dirut.cpp index 825e00f765c..ffc9b09f967 100644 --- a/util/folder/dirut.cpp +++ b/util/folder/dirut.cpp @@ -486,9 +486,9 @@ void MakePathIfNotExist(const char* path, int mode) { NFs::MakeDirectoryRecursive(path, NFs::EFilePermission(mode)); if (!NFs::Exists(path) || !TFileStat(path).IsDir()) { ythrow TSystemError() << "failed to create directory " << path; - } -} - + } +} + const char* GetFileNameComponent(const char* f) { const char* p = strrchr(f, LOCSLASH_C); #ifdef _win_ |