projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aacfeba
)
Add extra argument for new pg_regexec API.
author
Bruce Momjian
<bruce@momjian.us>
Sun, 10 Jul 2005 18:31:59 +0000
(18:31 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Sun, 10 Jul 2005 18:31:59 +0000
(18:31 +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 cbb6b61a73f46db6689259de0a367dd4edd0b0d1..54d0410af33ecf27d91b683711fe4d2c4081119d 100644
(file)
--- a/
contrib/tsearch2/ispell/spell.c
+++ b/
contrib/tsearch2/ispell/spell.c
@@
-813,7
+813,7
@@
CheckAffix(const char *word, size_t len, AFFIX * Affix, char flagflags, char *ne
data = (pg_wchar *) palloc((dat_len + 1) * sizeof(pg_wchar));
data_len = pg_mb2wchar_with_len(newword, data, dat_len);
- if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, NULL, 1, subs, 0)))
+ if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len,
0,
NULL, 1, subs, 0)))
{
pfree(data);
return newword;