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



On Sat, 2007-07-28 at 04:59 +0200, Marcus Fritzsch wrote:
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 ;)


its fine

have applied thx





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