[Tracker] [PATCH] fix to prevent tracker from indexing "" as a word



I noticed tracker indexing the word "" for every file --- or at least
the logs showed them.

It disturbed me and I went hunting for this one, took pretty long,
maybe it's just my code blind eyes :).

The problem is that tracker_parse_text_to_string has to insert spaces
- but tracker_parse_text_fast splits on spaces - so, spaces at the end
and the beginning make up 2 empty strings and one or more useful ones.

Here's the fix, though I am pretty sure that one of you guys has a
better (i.e. the real) fix ;)

Kind regards, Marcus

Attachment: tracker_r732_empty_word.patch
Description: Text Data



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