On 3/22/19 7:49 PM, Norihiro Tanaka wrote: > Missing a patch for dfa. Re-send correct patch file. Thanks, I installed the DFA-relevant parts of your proposed fix into Gnulib. (The grep parts still need doing.) I also installed the attached commentary followup. While I was at it I installed a patch to fix an unlikely integer overflow that I noticed while reviewing your fix. I also installed some internal changes to prefer signed to unsigned integers for indexes, as this should make future integer overflows easier to catch. See: https://lists.gnu.org/r/bug-gnulib/2019-12/msg00058.html https://lists.gnu.org/r/bug-gnulib/2019-12/msg00059.html I'd also like to change dfa.h's API to prefer ptrdiff_t to size_t, for the same integer-overflow reason. This would be a (minor) API change so I thought I'd ask first. Any objections? PS. Arnold, the above discusses all the changes I know about for dfa.c and dfa.h. The proposed API change (size_t->ptrdiff_t) could be installed either before or after the next Gawk release.