* 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
This commit is contained in:
+3
-2
@@ -175,7 +175,8 @@ handleFile(BEntry *entry, BNode *node)
|
|||||||
BNode innerNode;
|
BNode innerNode;
|
||||||
handleFile(&entryIterator, &innerNode);
|
handleFile(&entryIterator, &innerNode);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
|
// also rewrite the attributes of the directory
|
||||||
}
|
}
|
||||||
|
|
||||||
char name[B_FILE_NAME_LENGTH];
|
char name[B_FILE_NAME_LENGTH];
|
||||||
@@ -347,7 +348,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
while (*++argv) {
|
while (*++argv) {
|
||||||
BEntry entry(*argv);
|
BEntry entry(*argv);
|
||||||
BNode node;
|
BNode node;
|
||||||
|
|
||||||
if (entry.InitCheck() == B_OK) {
|
if (entry.InitCheck() == B_OK) {
|
||||||
if (gFromVolume)
|
if (gFromVolume)
|
||||||
|
|||||||
Reference in New Issue
Block a user