GNU bug report logs -
#34951
[PATCH] grep: a kwset matcher not work in a grep matcher
Previous Next
Reported by: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Date: Sat, 23 Mar 2019 02:30:02 UTC
Severity: normal
Tags: patch
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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.
[0001-dfa-update-commentary-for-previous-change.patch (text/x-patch, attachment)]
This bug report was last modified 5 years and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.