Switch to side-by-side view

--- a/src/index/indexer.cpp
+++ b/src/index/indexer.cpp
@@ -1,5 +1,5 @@
 #ifndef lint
-static char rcsid[] = "@(#$Id: indexer.cpp,v 1.49 2006-12-19 08:40:50 dockes Exp $ (C) 2004 J.F.Dockes";
+static char rcsid[] = "@(#$Id: indexer.cpp,v 1.50 2006-12-21 09:22:31 dockes Exp $ (C) 2004 J.F.Dockes";
 #endif
 /*
  *   This program is free software; you can redistribute it and/or modify
@@ -81,6 +81,11 @@
 	m_updater->status.reset();
 	m_updater->status.dbtotdocs = m_db.docCnt();
     }
+
+    // Always add dbdir and confdir to skipped paths.
+    m_walker.setSkippedPaths(list<string>());
+    m_walker.addSkippedPath(m_config->getConfDir());
+    m_walker.addSkippedPath(m_dbdir);
 
     for (list<string>::const_iterator it = topdirs->begin();
 	 it != topdirs->end(); it++) {