grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.3-41-g6b4ee2c


From: Jim Meyering
Subject: grep branch, master, updated. v3.3-41-g6b4ee2c
Date: Sun, 22 Dec 2019 20:53:08 -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  6b4ee2c0b163de6fdac2dca6ddca6d3065d45bcd (commit)
       via  5b1d1eac2c10f9034edee337c34d352ca980f160 (commit)
      from  c2ec762dbc132d3c4a727c8e2ecab2a7286729d6 (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=6b4ee2c0b163de6fdac2dca6ddca6d3065d45bcd


commit 6b4ee2c0b163de6fdac2dca6ddca6d3065d45bcd
Author: Jim Meyering <address@hidden>
Date:   Sun Dec 22 17:53:02 2019 -0800

    maint: adjust new comments
    
    * src/dfasearch.c (possible_backrefs_in_pattern): Remove a
    duplicate "a", insert a "be" and a comma, and reformat.

diff --git a/src/dfasearch.c b/src/dfasearch.c
index eb7732b..b1a242a 100644
--- a/src/dfasearch.c
+++ b/src/dfasearch.c
@@ -110,16 +110,16 @@ kwsmusts (struct dfa_comp *dc)
 static bool _GL_ATTRIBUTE_PURE
 possible_backrefs_in_pattern (char const *keys, ptrdiff_t len, bool bs_safe)
 {
-  /* Normally a backslash, but in an unsafe encoding this is a a
-     non-char value so that the comparison below always fails, because
-     if there are two adjacent '\' bytes the first might the last byte
-     of a multibyte character.  */
+  /* Normally a backslash, but in an unsafe encoding this is a non-char
+     value so that the comparison below always fails, because if there
+     are two adjacent '\' bytes, the first might be the last byte of a
+     multibyte character.  */
   int second_backslash = bs_safe ? '\\' : CHAR_MAX + 1;
 
   /* This code can return true even if KEYS lacks a backreference, for
-     patterns like [\2], or for encodings where '\' appears as
-     the last byte of a multibyte character.  However, false alarms
-     should be rare and do not affect correctness.  */
+     patterns like [\2], or for encodings where '\' appears as the last
+     byte of a multibyte character.  However, false alarms should be
+     rare and do not affect correctness.  */
 
   /* Do not look for a backslash in the pattern's last byte, since it
      can't be part of a backreference and this streamlines the code.  */

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=5b1d1eac2c10f9034edee337c34d352ca980f160


commit 6b4ee2c0b163de6fdac2dca6ddca6d3065d45bcd
Author: Jim Meyering <address@hidden>
Date:   Sun Dec 22 17:53:02 2019 -0800

    maint: adjust new comments
    
    * src/dfasearch.c (possible_backrefs_in_pattern): Remove a
    duplicate "a", insert a "be" and a comma, and reformat.

diff --git a/src/dfasearch.c b/src/dfasearch.c
index eb7732b..b1a242a 100644
--- a/src/dfasearch.c
+++ b/src/dfasearch.c
@@ -110,16 +110,16 @@ kwsmusts (struct dfa_comp *dc)
 static bool _GL_ATTRIBUTE_PURE
 possible_backrefs_in_pattern (char const *keys, ptrdiff_t len, bool bs_safe)
 {
-  /* Normally a backslash, but in an unsafe encoding this is a a
-     non-char value so that the comparison below always fails, because
-     if there are two adjacent '\' bytes the first might the last byte
-     of a multibyte character.  */
+  /* Normally a backslash, but in an unsafe encoding this is a non-char
+     value so that the comparison below always fails, because if there
+     are two adjacent '\' bytes, the first might be the last byte of a
+     multibyte character.  */
   int second_backslash = bs_safe ? '\\' : CHAR_MAX + 1;
 
   /* This code can return true even if KEYS lacks a backreference, for
-     patterns like [\2], or for encodings where '\' appears as
-     the last byte of a multibyte character.  However, false alarms
-     should be rare and do not affect correctness.  */
+     patterns like [\2], or for encodings where '\' appears as the last
+     byte of a multibyte character.  However, false alarms should be
+     rare and do not affect correctness.  */
 
   /* Do not look for a backslash in the pattern's last byte, since it
      can't be part of a backreference and this streamlines the code.  */

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

Summary of changes:
 bootstrap       |  14 +-
 gnulib          |   2 +-
 src/dfasearch.c |  14 +-
 tests/init.sh   | 507 +++++++++++++++++++++++++++++++-------------------------
 4 files changed, 302 insertions(+), 235 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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