dovecot-2.2: lib-fts: normalizer-icu no longer returns empty tok...
dovecot at dovecot.org
dovecot at dovecot.org
Mon May 11 13:03:14 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/d4541fd7a531
changeset: 18636:d4541fd7a531
user: Timo Sirainen <tss at iki.fi>
date: Mon May 11 16:00:53 2015 +0300
description:
lib-fts: normalizer-icu no longer returns empty tokens.
diffstat:
src/lib-fts/fts-filter-normalizer-icu.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r cc59ac0f6a45 -r d4541fd7a531 src/lib-fts/fts-filter-normalizer-icu.c
--- a/src/lib-fts/fts-filter-normalizer-icu.c Mon May 11 16:00:21 2015 +0300
+++ b/src/lib-fts/fts-filter-normalizer-icu.c Mon May 11 16:00:53 2015 +0300
@@ -229,6 +229,9 @@
return -1;
}
+ if (utext_len == 0)
+ return 0;
+
make_utf8(utext, token);
return 1;
}
More information about the dovecot-cvs
mailing list