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

Commitae2f9d5

Browse files
committed
Throwing an error if there's a regex_t based affix instead of silently skipping them, which might lead to segfaults and so on (the extension can't handle them properly yet).
1 parentecab830 commitae2f9d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/shared_ispell.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ AFFIX * copyAffix(AFFIX * affix) {
619619

620620
/*FIXME Need to copy the regex_t properly. But would a plain copy be
621621
* safe tu use by multiple processes at the same time? */
622-
elog(WARNING,"skippingregex_t");
622+
elog(ERROR,"This extension can't handleregex_t affixes yet.");
623623

624624
}
625625

@@ -641,7 +641,7 @@ int sizeAffix(AFFIX * affix) {
641641

642642
/*FIXME Need to copy the regex_t properly. But would a plain copy be
643643
* safe tu use by multiple processes at the same time? */
644-
elog(WARNING,"skippingregex_t");
644+
elog(ERROR,"This extension can't handleregex_t affixes yet.");
645645

646646
}
647647

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp