Jamie,

I found this bug still there on trunk(1095) code, patch is attached,
please review it.

Thanks,
Halton.
On Sun, 2007-11-11 at 23:05 +0000, jamie wrote:
> On Tue, 2007-11-06 at 12:38 +0200, Tshepang Lekhonkhobe wrote:
> > Hi,
> > 
> > When deleting files from filesystem, Tracker just notes the changes
> > ("file changes to x is pausing Tracker" and "ignoring action y on file
> > z") without deleting them from the index.
> > 
> 
> this is now fixed in latest svn - pls confirm
> 
> jamie
> 
> 
> _______________________________________________
> tracker-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/tracker-list
Index: trunk/src/trackerd/trackerd.c
===================================================================
--- trunk/src/trackerd/trackerd.c	(revision 1095)
+++ trunk/src/trackerd/trackerd.c	(working copy)
@@ -1457,6 +1457,9 @@
 
 		tracker_debug ("processing %s with action %s and counter %d ", info->uri, tracker_actions[info->action], info->counter);
 
+		/* preprocess ambiguous actions when we need to work out if its a file or a directory that the action relates to */
+		verify_action (info);
+
 		if (info->action != TRACKER_ACTION_DELETE &&
 		    info->action != TRACKER_ACTION_DIRECTORY_DELETED && info->action != TRACKER_ACTION_FILE_DELETED) {
 
@@ -1505,9 +1508,6 @@
 
 		}	
 
-		/* preprocess ambiguous actions when we need to work out if its a file or a directory that the action relates to */
-		verify_action (info);
-
 		
 
 		/* get latest file info from disk */
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to