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

Re: [PATCH 2/2] Remove support for v1 of the PCRE library

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jan 24, 2021, 03:21 UTC
Message-ID
<YAzn0Z+568rtF6rs@camp.crustytoothpaste.net>
In-Reply-To
<20210124015833.2753-2-avarab@gmail.com>
On 2021-01-24 at 01:58:33, Ævar Arnfjörð Bjarmason wrote:
Show 11 quoted lines
> Remove support for using version 1 of the PCRE library. Its use has
> been discouraged by upstream for a long time, and it's in a
> bugfix-only state.
> 
> Anyone who was relying on v1 in particular got a nudge to move to v2
> in e6c531b808 (Makefile: make USE_LIBPCRE=YesPlease mean v2, not v1,
> 2018-03-11), which was first released as part of v2.18.0.
> 
> With this the LIBPCRE2 test prerequisites is redundant to PCRE. But
> I'm keeping it for self-documentation purposes, and to avoid conflict
> with other in-flight PCRE patches.

I think it's fine to drop support for the original PCRE. All supported versions of CentOS, Debian, Ubuntu, FreeBSD, and NetBSD have PCRE2 by now, and I'm quite fine with giving folks using systems without security updates a bit of a wake-up call. I have no reason to believe that any other major operating system won't have version 2, either.

So, essentially, I think this is a good idea.
-- 
brian m. carlson (he/him or they/them)
Houston, Texas, US
Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 3 of 5 in “config.mak.uname: remove redundant NO_LIBPCRE1_JIT flag”
  1. 1/2 config.mak.uname: remove redundant NO_LIBPCRE1_JIT flagÆvar Arnfjörð Bjarmason, Jan 24, 2021
  2. 2/2 Remove support for v1 of the PCRE libraryÆvar Arnfjörð Bjarmason, Jan 24, 2021
  3. brian m. carlsonJan 24, 2021
  4. Junio C HamanoJan 24, 2021
  5. Johannes SchindelinJan 28, 2021

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.