]> Savannah Git Hosting - gnulib.git/commit
regex: tell compiler there’s at most 256 arcs out
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Oct 2019 00:37:37 +0000 (17:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Oct 2019 01:34:05 +0000 (18:34 -0700)
commit5e407aba1f775d51b25481cb55f324c9868f62d7
tree16fab8a328ba1e73b9ac71d98bbc8ac0a3a6ca4e
parent48f07576b8cd935b48e1050551f45ab1a79b9f01
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’.
ChangeLog
lib/regex_internal.h
lib/regexec.c
modules/regex