aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/fts.cpp
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commitbd30392c4cc92487950adc375c07adf52da1d592 (patch)
treee8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /util/folder/fts.cpp
parent5d50718e66d9c037dc587a0211110b7d25a66185 (diff)
downloadydb-bd30392c4cc92487950adc375c07adf52da1d592.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/folder/fts.cpp')
-rw-r--r--util/folder/fts.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/folder/fts.cpp b/util/folder/fts.cpp
index 0e6a6f86eb..8f3f10c643 100644
--- a/util/folder/fts.cpp
+++ b/util/folder/fts.cpp
@@ -62,7 +62,7 @@
#ifndef _win_
-static const dird invalidDirD = -1;
+static const dird invalidDirD = -1;
dird get_cwdd() {
return open(".", O_RDONLY, 0);
@@ -88,7 +88,7 @@ int cmp_dird(dird fd1, dird fd2) {
return fd1 - fd2;
}
-#else // ndef _win_
+#else // ndef _win_
int stat64UTF(const char* path, struct _stat64* _Stat) {
int len_converted = MultiByteToWideChar(CP_UTF8, 0, path, -1, 0, 0);
@@ -164,7 +164,7 @@ dird get_dird(char* path) {
return ret;
}
-#endif // ndef _win_
+#endif // ndef _win_
#ifdef _win_
#define S_ISDIR(st_mode) ((st_mode & _S_IFMT) == _S_IFDIR)
@@ -873,8 +873,8 @@ fts_build(FTS* sp, int type)
dirp = nullptr;
#ifdef _win_
close_dird(dirpd);
- dirpd = invalidDirD;
-#else
+ dirpd = invalidDirD;
+#else
Y_UNUSED(invalidDirD);
#endif
} else {