Skip to content

Update compat/regex

Ævar Arnfjörð Bjarmason git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH/RFC 0/3] Update compat/regex
Quoted 2 lines · Paolo Bonzini

Alternatively try out gawk, as it does not use gnulib but has the same set of sanitizations.

Why didn't you say that earlier? :)

Here's a RFC patch series that uses the gawk regex engine from the gawk-devel branch of gawk CVS.

It compiles on Linux/FreeBSD and Solaris, with only a single warning on FreeBSD due to an unused variable (upstream bug).

Ævar Arnfjörð Bjarmason (3):
compat/regex: use the regex engine from gawk for compat compat/regex: hacks to get the gawk regex engine to compile within
git
t/t7008-grep-binary.sh: un-TODO a test that needs REG_STARTEND

 Makefile                      |    4 +
 compat/regex/COPYING          |  674 ++++++
 compat/regex/mbsupport.h      |   59 +
 compat/regex/regcomp.c        | 3892 ++++++++++++++++++++++++++++++++
 compat/regex/regex.c          | 5003 +----------------------------------------
 compat/regex/regex.h          |  462 +++--
 compat/regex/regex_internal.c | 1744 ++++++++++++++
 compat/regex/regex_internal.h |  810 +++++++
 compat/regex/regexec.c        | 4377 +++++++++++++++++++++++++++++++++++
 t/t7008-grep-binary.sh        |    2 +-
 10 files changed, 11921 insertions(+), 5106 deletions(-)
 create mode 100644 compat/regex/COPYING
 create mode 100644 compat/regex/mbsupport.h
 create mode 100644 compat/regex/regcomp.c
 create mode 100644 compat/regex/regex_internal.c
 create mode 100644 compat/regex/regex_internal.h
 create mode 100644 compat/regex/regexec.c
Signature · 1 line
1.7.2.1.389.gc3d0b