[tracker/hierarchical-indexing] TrackerMinerFS: Avoid safely ignored root directories.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/hierarchical-indexing] TrackerMinerFS: Avoid safely ignored root directories.
- Date: Thu, 18 Feb 2010 14:52:30 +0000 (UTC)
commit 56d8ad7f8f6c93af5e6e9af24f53c05cc3dc167e
Author: Carlos Garnacho <carlos lanedo com>
Date: Thu Feb 18 15:35:56 2010 +0100
TrackerMinerFS: Avoid safely ignored root directories.
This may happen on reindex.
src/libtracker-miner/tracker-miner-fs.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 9b2537a..5b37620 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1558,11 +1558,9 @@ fill_in_queue (TrackerMinerFS *fs,
if (!g_object_get_qdata (G_OBJECT (file), fs->private->quark_ignore_file)) {
g_queue_push_tail (queue, g_object_ref (file));
+ g_queue_push_tail (dir_data->nodes, node);
+ return;
}
-
- g_queue_push_tail (dir_data->nodes, node);
-
- return;
}
node = g_queue_pop_head (dir_data->nodes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]