Bug#659281: hunspell: hangs with -D option
forwarded 659281 http://sourceforge.net/tracker/?func=detail&aid=3522524&group_id=143754&atid=756395
tag 659281 +patch
thanks
On Thu, Feb 09, 2012 at 08:01:52PM +0100, Luca Capello wrote:
> Package: hunspell
> Version: 1.3.2-4
> Severity: minor
> Usertags: pca.it-l10n
>
> Hi there!
>
> The subject says all:
For the records I opened a bug report at upstream tracker, where I point at
a fix suggested by Eli Zaretskii in emacs-devel mailing list
http://article.gmane.org/gmane.emacs.devel/149245
--- src/tools/hunspell.cxx~0 2011-01-21 19:01:29.000000000 +0200
+++ src/tools/hunspell.cxx 2012-03-21 16:40:31.255690500 +0200
@@ -1756,6 +1763,7 @@ int main(int argc, char** argv)
fprintf(stderr, gettext("SEARCH PATH:\n%s\n"), path);
fprintf(stderr, gettext("AVAILABLE DICTIONARIES (path is not mandatory for -d option):\n"));
search(path, NULL, NULL);
+ if (arg_files==-1) exit(0);
}
if (!privdicname) privdicname = mystrdup(getenv("WORDLIST"));
Regards,
--
Agustin
Reply to: