Bug#319369: unmunch not always can extract all words
Hi Davide,
Davide Prina schrieb:
> Package: libmyspell-dev
> Version: 1:3.1-11
>
> If you are using a MySpell dictionary (.dic) with a word/affix that
> generate more than 5.000 words than the unmunch utility can generate
> only the first 5.000 of that.
I don't know anything about myspell internals, but...
>
> In the next Italian dictionary there will be a word/affix that generate
> more than 16.500 words.
>
> This bug affect only unmunch utility and not MySpell library.
>
> I have also write to the MySpell author.
>
> I attach a patch ... I have exaggerated on it :-)
> I have also add two missing cast and used the mychop() of MySpell library.
...in C (as opposed to C++), casts from void* to somethingelse* need not
be explicit. And as you are on i386, int and long int have the same size.
Regards,
Martin
Reply to: