aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/fts.cpp
diff options
context:
space:
mode:
authorVasily Gerasimov <UgnineSirdis@gmail.com>2022-02-10 16:49:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:09 +0300
commit6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (patch)
treef69637041e6fed76ebae0c74ae1fa0c4be6ab5b4 /util/folder/fts.cpp
parente5d4696304c6689379ac7ce334512404d4b7836c (diff)
downloadydb-6cdc8f140213c595e4ad38bc3d97fcef1146b8c3.tar.gz
Restoring authorship annotation for Vasily Gerasimov <UgnineSirdis@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/folder/fts.cpp')
-rw-r--r--util/folder/fts.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/folder/fts.cpp b/util/folder/fts.cpp
index 0e6a6f86eb..bcdad0c652 100644
--- a/util/folder/fts.cpp
+++ b/util/folder/fts.cpp
@@ -249,12 +249,12 @@ FTS* yfts_open(char* const* argv, int options, int (*compar)(const FTSENT**, con
errno = 0;
- Y_ASSERT(argv);
- if (!*argv) {
- errno = ENOENT;
- return nullptr;
- }
-
+ Y_ASSERT(argv);
+ if (!*argv) {
+ errno = ENOENT;
+ return nullptr;
+ }
+
/* Options check. */
if (options & ~FTS_OPTIONMASK) {
errno = EINVAL;
@@ -991,7 +991,7 @@ fts_build(FTS* sp, int type)
}
#endif
- // coverity[dead_error_line]: false positive
+ // coverity[dead_error_line]: false positive
if (cderrno) {
if (nlinks) {
p->fts_info = FTS_NS;
@@ -1075,7 +1075,7 @@ fts_build(FTS* sp, int type)
(cur->fts_level == FTS_ROOTLEVEL ? FCHDIR(sp, sp->fts_rfd) : fts_safe_changedir(sp, cur->fts_parent, -1, ".."))) {
cur->fts_info = FTS_ERR;
SET(FTS_STOP);
- fts_lfree(head);
+ fts_lfree(head);
return nullptr;
}
@@ -1084,7 +1084,7 @@ fts_build(FTS* sp, int type)
if (type == BREAD) {
cur->fts_info = FTS_DP;
}
- fts_lfree(head);
+ fts_lfree(head);
return nullptr;
}