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
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/folder/fts.cpp
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 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 8f3f10c643..0e6a6f86eb 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 {