grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.8-11-g908f305


From: Jim Meyering
Subject: grep branch, master, updated. v3.8-11-g908f305
Date: Sun, 11 Dec 2022 18:14:53 -0500 (EST)

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  908f30573a31f1f2734620813dc5870ff39b2253 (commit)
      from  b061d24916fb9a14da37a3f2a05cb80dc65cfd38 (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=908f30573a31f1f2734620813dc5870ff39b2253


commit 908f30573a31f1f2734620813dc5870ff39b2253
Author: Jim Meyering <meyering@fb.com>
Date:   Mon Dec 5 16:23:21 2022 -0800

    maint: src/dfasearch.c: remove unnecessary re_set_syntax call
    
    * src/dfasearch.c (GEAcompile): Don't call "re_set_syntax (syntax_bits)"
    just before regex_compile; that function does the same thing already.

diff --git a/src/dfasearch.c b/src/dfasearch.c
index a5b0d90..987238b 100644
--- a/src/dfasearch.c
+++ b/src/dfasearch.c
@@ -261,8 +261,6 @@ GEAcompile (char *pattern, idx_t size, reg_syntax_t 
syntax_bits,
           dc->patterns++;
         }
 
-      re_set_syntax (syntax_bits);
-
       if (!regex_compile (dc, p, len, dc->pcount, lineno, syntax_bits,
                           !backref))
         compilation_failed = true;

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

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


hooks/post-receive
-- 
grep



reply via email to

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