GNU bug report logs - #47264
RFE: pcre2 support

Previous Next

Package: grep;

Reported by: Jaroslav Skarvada <jskarvad <at> redhat.com>

Date: Fri, 19 Mar 2021 15:23:01 UTC

Severity: wishlist

Merged with 22345, 40395

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

From: Jeffrey Walton <noloader <at> gmail.com>
To: Carlo Arenas <carenas <at> gmail.com>
Cc: 47264-done <at> debbugs.gnu.org
Subject: bug#47264: [PATCH v2] pcre: migrate to pcre2
Date: Sun, 14 Nov 2021 17:44:53 -0500
On Sun, Nov 14, 2021 at 5:26 PM Carlo Arenas <carenas <at> gmail.com> wrote:
> On Sun, Nov 14, 2021 at 12:45 PM Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> > ...
> using idx_t instead of size_t should be fine (if only halves the max
> size of the objects managed), but I am concerned that assuming
> PCRE2_SIZE_MAX is always equivalent to SIZE_MAX (as done in patch 4)
> might be risky (at least without a comment), and considering that is
> part of the API anyway might be better if kept as PCRE2_SIZE_MAX IMHO.

GNU Hurd may not have SIZE_MAX defined. The Hurd folks
{sometimes|often} want developers to make a runtime call for the
limit.

See docs like https://www.gnu.org/software/libc/manual/html_node/File-Minimums.html
and https://pubs.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html.

Jeff




This bug report was last modified 3 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.