diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-10-09 17:37:37 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-10-09 18:34:05 -0700 |
commit | 5e407aba1f775d51b25481cb55f324c9868f62d7 (patch) | |
tree | 16fab8a328ba1e73b9ac71d98bbc8ac0a3a6ca4e /modules/regex | |
parent | 48f07576b8cd935b48e1050551f45ab1a79b9f01 (diff) | |
download | gnulib-5e407aba1f775d51b25481cb55f324c9868f62d7.tar.gz |
regex: tell compiler there’s at most 256 arcs out
Partly this is to help the reader (and maybe help GCC);
partly this is to pacify Coverity.
* lib/regex_internal.h: Include verify.h.
* lib/regexec.c (group_nodes_into_DFAstates):
Tell the compiler that ndests cannot exceed SBC_MAX.
* modules/regex (Depends-on): Add ‘verify’.
Diffstat (limited to 'modules/regex')
-rw-r--r-- | modules/regex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/regex b/modules/regex index 7f50916ce3..dbfd379820 100644 --- a/modules/regex +++ b/modules/regex @@ -30,6 +30,7 @@ mbsinit [test $ac_use_included_regex = yes] nl_langinfo [test $ac_use_included_regex = yes] stdbool [test $ac_use_included_regex = yes] stdint [test $ac_use_included_regex = yes] +verify [test $ac_use_included_regex = yes] wchar [test $ac_use_included_regex = yes] wcrtomb [test $ac_use_included_regex = yes] wctype-h [test $ac_use_included_regex = yes] |