From: Dennis Schafroth Date: Fri, 11 Mar 2011 12:36:52 +0000 (+0100) Subject: Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz X-Git-Tag: v4.1.7~6 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=554423d357ed2bcf4ece977f85de3bc1307d6536;hp=-c Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz --- 554423d357ed2bcf4ece977f85de3bc1307d6536 diff --combined src/stemmer.c index a8bf02a,cdc1053..7ee2633 --- a/src/stemmer.c +++ b/src/stemmer.c @@@ -27,9 -27,7 +27,7 @@@ struct yaz_stemmer_ // Required for cloning. char *locale; char *rule; - union { - struct sb_stemmer *sb_stemmer; - }; + struct sb_stemmer *sb_stemmer; }; const char* yaz_stemmer_lookup_charenc(const char *charenc, const char *rule) { @@@ -89,12 -87,8 +87,12 @@@ void yaz_stemmer_stem(yaz_stemmer_p ste icu_buf_utf16_copy(dst, src); } else { - const char *cstr = (const char *) sb_symbol; - icu_utf16_from_utf8_cstr(dst, cstr , status); + + const char *cstr2 = (const char *) sb_symbol; + icu_utf16_from_utf8_cstr(dst, cstr2 , status); +#if 0 + yaz_log(YLOG_DEBUG, "stemming %s to %s ", cstr, cstr2); +#endif } } icu_buf_utf8_destroy(utf8_buf);