Skip to content

Commit 21634e5

Browse files
committed
Add extra argument for new pg_regexec API.
1 parent aacfeba commit 21634e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/tsearch2/ispell/spell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ CheckAffix(const char *word, size_t len, AFFIX * Affix, char flagflags, char *ne
813813
data = (pg_wchar *) palloc((dat_len + 1) * sizeof(pg_wchar));
814814
data_len = pg_mb2wchar_with_len(newword, data, dat_len);
815815

816-
if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, NULL, 1, subs, 0)))
816+
if (!(err = pg_regexec(&(Affix->reg.regex), data, dat_len, 0, NULL, 1, subs, 0)))
817817
{
818818
pfree(data);
819819
return newword;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy