projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1120c61
)
Fix lowercasing while parse OO dictionary
author
Teodor Sigaev
Thu, 23 Nov 2006 17:35:14 +0000
(17:35 +0000)
committer
Teodor Sigaev
Thu, 23 Nov 2006 17:35:14 +0000
(17:35 +0000)
contrib/tsearch2/ispell/spell.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/tsearch2/ispell/spell.c
b/contrib/tsearch2/ispell/spell.c
index 6eedc7f3426d2508b93f20a63c917f2264de4ee4..66ccca4d07c9bcd2f874c2ae14b8ceaabcbf3e5b 100644
(file)
--- a/
contrib/tsearch2/ispell/spell.c
+++ b/
contrib/tsearch2/ispell/spell.c
@@
-609,11
+609,11
@@
NIImportOOAffixes(IspellDict * Conf, const char *filename)
pfind = lowerstr(find);
pmask = lowerstr(mask);
if (t_iseq(find, '0'))
- *find = '\0';
+ *
p
find = '\0';
if (t_iseq(repl, '0'))
- *repl = '\0';
+ *
p
repl = '\0';
- NIAddAffix(Conf, flag, flagflags,
mask, find,
repl, isSuffix ? FF_SUFFIX : FF_PREFIX);
+ NIAddAffix(Conf, flag, flagflags,
pmask, pfind, p
repl, isSuffix ? FF_SUFFIX : FF_PREFIX);
pfree(prepl);
pfree(pfind);
pfree(pmask);