1 To apply this patch cd into the Aspell source directory and then
2 patch -p0 < <this file>
4 It is meant to be applied against Aspell .33.7.*
7 - Workaround a bug in Pspell where multi-byte words are not getting
8 null terminated properly.
9 - Truly fix a bug in suggest.cc so that Aspell will suggest correctly
10 when typo-analysis is not used such as when sug-mode is ultra
13 --- lib/suggest.cc~ Wed Aug 1 03:40:49 2001
14 +++ lib/suggest.cc Fri Nov 9 00:10:16 2001
16 void Working::score_list() {
17 if (near_misses.empty()) return;
19 - bool no_soundslike = strcmp(manager->lang().soundslike_name(), "none") != 0;
20 + bool no_soundslike = strcmp(manager->lang().soundslike_name(), "none") == 0;
22 if (parms.use_typo_analysis) {
24 --- pspell-module/manager.cc~ Wed Jan 31 22:08:58 2001
25 +++ pspell-module/manager.cc Sun Dec 9 22:51:14 2001
29 from_internal->convert(w, temp_buf);
30 - return temp_str.c_str();
32 + temp_str.append(t, 4);
33 + return temp_str.data();
38 wi.get_word(tmp,local_info.convert);
40 from_internal->convert(tmp.c_str(), temp_buf);
41 - return temp_str.c_str();
43 + temp_str.append(t, 4);
44 + return temp_str.data();