Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd7a1e85

Browse files
committed
Copy flagMode into shared dictionary structure.
Issuepostgrespro/hunspell_dicts#3 (comment)
1 parent0ad59c2 commitd7a1e85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/shared_ispell.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ init_shared_dict(DictInfo *info, MemoryContext infoCntx,
318318
NIStartBuild(dict);
319319
NIImportDictionary(dict,get_tsearch_config_filename(dictFile,"dict"));
320320

321+
dict->flagMode=info->dict.flagMode;
321322
dict->usecompound=info->dict.usecompound;
322323

323324
dict->nCompoundAffixFlag=dict->mCompoundAffixFlag=
@@ -816,6 +817,8 @@ copyIspellDict(IspellDict *dict, char *dictFile, char *affixFile, int size, int
816817
for (i=0;i<copy->dict.nAffixData;i++)
817818
copy->dict.AffixData[i]=shstrcpy(dict->AffixData[i]);
818819

820+
copy->dict.flagMode=dict->flagMode;
821+
819822
copy->nbytes=size;
820823
copy->nwords=words;
821824

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp