From e12b8d6ddf36cbf191cf896d0dd8f0cc4e35d9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 3 May 2009 15:28:54 +0000 Subject: [PATCH] * Now also adds directories to the index (before only in non-recursive mode). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30609 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/reindex.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/reindex.cpp b/src/bin/reindex.cpp index 8d386ca375..090fa74f4e 100644 --- a/src/bin/reindex.cpp +++ b/src/bin/reindex.cpp @@ -175,7 +175,8 @@ handleFile(BEntry *entry, BNode *node) BNode innerNode; handleFile(&entryIterator, &innerNode); } - return; + + // also rewrite the attributes of the directory } char name[B_FILE_NAME_LENGTH]; @@ -347,7 +348,7 @@ main(int argc, char **argv) while (*++argv) { BEntry entry(*argv); - BNode node; + BNode node; if (entry.InitCheck() == B_OK) { if (gFromVolume)