From: Adam Dickmeiss Date: Thu, 24 May 2007 10:51:36 +0000 (+0000) Subject: Fixed bug #1140: Unexpected EOF for icu_chain_next_token. The X-Git-Tag: PAZPAR2.1.0.0~103 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=851f22995f4163ecf9e8fde5ac9f38a26f93f8a6;p=pazpar2-moved-to-github.git Fixed bug #1140: Unexpected EOF for icu_chain_next_token. The need_new_token was left in an unitialized state (from last round). --- diff --git a/src/icu_I18N.c b/src/icu_I18N.c index f45869a..d3d7e3e 100644 --- a/src/icu_I18N.c +++ b/src/icu_I18N.c @@ -1,4 +1,4 @@ -/* $Id: icu_I18N.c,v 1.19 2007-05-22 07:51:45 adam Exp $ +/* $Id: icu_I18N.c,v 1.20 2007-05-24 10:51:36 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -1133,6 +1133,7 @@ int icu_chain_assign_cstr(struct icu_chain * chain, while (stp){ stp->more_tokens = 1; + stp->need_new_token = 1; stp = stp->previous; }