git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] PCRE1 cleanup

From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
Date
Aug 25, 2019, 18:22 UTC
Message-ID
<20190825182223.76288-1-carenas@gmail.com>

This is a reroll of [1] which is mostly equivalent to the original RFC but rebased on top of ab/pcre-jit-fixes.

The first patch fixes an inconsistency from 685668faaa (grep: stop using a custom JIT stack with PCRE v1, 2019-07-26) where NO_LIBPCRE1_JIT will only affect versions of pcre1 >= 8.32, while support for JIT was added to pcre1 with version 8.20. Technically this is a change of behaviour as originally it was not possible to use JIT with those older versions, but the restriction was somehow arbitrary and caused by the use of JIT fast path.

The second patch is mainly refactoring and to make sure the solution from 2fff1e196d (grep: fix NO_LIBPCRE1_JIT to fully disable JIT, 2017-11-12) is working as expected.

Carlo Marcelo Arenas Belón (2):
  grep: make sure NO_LIBPCRE1_JIT disable JIT in PCRE1
  grep: refactor and simplify PCRE1 support
 Makefile |  9 ++-------
 grep.c   | 16 ++++++++++------
 grep.h   | 11 -----------
 3 files changed, 12 insertions(+), 24 deletions(-)
[1] https://public-inbox.org/git/20190726202642.7986-1-carenas@gmail.com/
base-commit: c581e4a7499b9e1089847dbbc057afbef1ed861e
-- 
2.23.0
Next: Carlo Marcelo Arenas Belón
Message 1 of 6 in “PCRE1 cleanup”
  1. 0/2 PCRE1 cleanupCarlo Marcelo Arenas Belón, Aug 25, 2019
  2. 2/2 grep: refactor and simplify PCRE1 supportCarlo Marcelo Arenas Belón, Aug 25, 2019
  3. Junio C HamanoAug 26, 2019
  4. 1/2 grep: make sure NO_LIBPCRE1_JIT disable JIT in PCRE1Carlo Marcelo Arenas Belón, Aug 25, 2019
  5. Junio C HamanoAug 26, 2019
  6. Carlo ArenasAug 27, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.