GNOME Bugzilla – Bug 521803
Refactor request and file processing
Last modified: 2008-03-26 11:36:19 UTC
I have a patch which moves the functions required to handle DBus messages and indexing files into their own modules instead of all being in trackerd.c. This makes the code a lot more maintainable and easier to follow due to the functions now have been made smaller and easier to comprehend as a result. Patch to follow.
Created attachment 107072 [details] [review] Patch to fix the bug All I would add is, I did a quick review of my own bug and the patch does look like it removes code it shouldn't but that's only because large chunks of the file have been moved to other files. This patch is best reviewed after being patched I think (at least for trackerd.c), the two new files tracker-process-files.c and tracker-process-requests.c have all the new code that has been moved over. These contain the mutex/threading voodoo which needs checking.
Committed.