grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v3.7-60-g743b1f6


From: Paul Eggert
Subject: grep branch, master, updated. v3.7-60-g743b1f6
Date: Tue, 22 Mar 2022 23:13:19 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  743b1f6f5ca7ee86348fa0593da2eff03df1a82a (commit)
      from  dfcd2c9cc8d581c17e876707344b6f44c1bd0873 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=743b1f6f5ca7ee86348fa0593da2eff03df1a82a


commit 743b1f6f5ca7ee86348fa0593da2eff03df1a82a
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Mar 22 20:12:38 2022 -0700

    grep: Remove recent PCRE2 bug workarounds
    
    * src/pcresearch.c (Pcompile): Remove recent workaround for PCRE2
    bugs; apparently it’s not needed.  This reverts back to where
    things were before today.  Suggested by Carlo Arenas in:
    https://lists.gnu.org/r/grep-devel/2022-03/msg00006.html

diff --git a/src/pcresearch.c b/src/pcresearch.c
index 6947838..f332a44 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -157,13 +157,6 @@ Pcompile (char *pattern, idx_t size, reg_syntax_t ignored, 
bool exact)
 #endif
     }
 
-#if defined PCRE2_MATCH_INVALID_UTF && !(10 < PCRE2_MAJOR + (36 <= 
PCRE2_MINOR))
-  /* Work around PCRE2 bug 2642, and another bug reportedly fixed in
-     PCRE2 commit e0c6029a62db9c2161941ecdf459205382d4d379.  */
-  if (flags & (PCRE2_UTF | PCRE2_CASELESS))
-    flags |= PCRE2_NO_START_OPTIMIZE;
-#endif
-
   /* FIXME: Remove this restriction.  */
   if (rawmemchr (pattern, '\n') != patlim)
     die (EXIT_TROUBLE, 0, _("the -P option only supports a single pattern"));

-----------------------------------------------------------------------

Summary of changes:
 src/pcresearch.c | 7 -------
 1 file changed, 7 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]