tracker r1949 - in branches/indexer-split: . utils/qdbm



Author: pvanhoof
Date: Mon Jul 28 09:16:00 2008
New Revision: 1949
URL: http://svn.gnome.org/viewvc/tracker?rev=1949&view=rev

Log:
2008-07-28  Philip Van Hoof  <pvanhoof gnome org>

        * utils/qdbm/print-words.c: Open the qdbm file in DP_ONOLCK mode, like
        the application itself does



Modified:
   branches/indexer-split/ChangeLog
   branches/indexer-split/utils/qdbm/print-words.c

Modified: branches/indexer-split/utils/qdbm/print-words.c
==============================================================================
--- branches/indexer-split/utils/qdbm/print-words.c	(original)
+++ branches/indexer-split/utils/qdbm/print-words.c	Mon Jul 28 09:16:00 2008
@@ -78,7 +78,7 @@
     gint hits, i;
     TrackerIndexerWordDetails *results;
 
-    depot = dpopen (filename, DP_OREADER, -1);
+    depot = dpopen (filename, DP_OREADER | DP_ONOLCK, -1);
 
     if ( depot == NULL ) {
 	   g_print ("Unable to open file: %s (Could be a lock problem: is tracker running?)\n", filename);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]