grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.3-25-g0172bf6


From: Jim Meyering
Subject: grep branch, master, updated. v3.3-25-g0172bf6
Date: Sat, 16 Nov 2019 13:57:48 -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  0172bf6825710b510b05c56136aee2d5f8d400e4 (commit)
       via  4cae7410f44fa309af518fda7ac705e9e1ec9903 (commit)
       via  0effe42bf401eb5be2d977ec87c2fadb8fd1d5ba (commit)
       via  090a4dbe03951e427f03f83be424caacc3303799 (commit)
       via  a37a439a7fc45afecbefa814999b5c2511b49e23 (commit)
      from  6193ba1cb5669a3e06e0320254b1c181297d41eb (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=0172bf6825710b510b05c56136aee2d5f8d400e4


commit 0172bf6825710b510b05c56136aee2d5f8d400e4
Author: Jim Meyering <address@hidden>
Date:   Sat Nov 16 10:51:25 2019 -0800

    maint: rename a variable: bol -> nl
    
    * src/kwsearch.c (Fexecute): Change misleading name: s/bol/nl/

diff --git a/src/kwsearch.c b/src/kwsearch.c
index b2d4fa4..5edff79 100644
--- a/src/kwsearch.c
+++ b/src/kwsearch.c
@@ -225,8 +225,8 @@ Fexecute (void *vcp, char const *buf, size_t size, size_t 
*match_size,
 
       /* We need a preceding mb_start pointer.  Use the beginning of line
          if there is a preceding newline, else BUF.  */
-      char const *bol = memrchr (mb_start, eol, beg - mb_start);
-      mb_start = bol ? bol + 1 : buf;
+      char const *nl = memrchr (mb_start, eol, beg - mb_start);
+      mb_start = nl ? nl + 1 : buf;
 
       /* Succeed if neither the preceding nor the following character is a
          word constituent.  If the preceding is not, yet the following

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=4cae7410f44fa309af518fda7ac705e9e1ec9903


commit 0172bf6825710b510b05c56136aee2d5f8d400e4
Author: Jim Meyering <address@hidden>
Date:   Sat Nov 16 10:51:25 2019 -0800

    maint: rename a variable: bol -> nl
    
    * src/kwsearch.c (Fexecute): Change misleading name: s/bol/nl/

diff --git a/src/kwsearch.c b/src/kwsearch.c
index b2d4fa4..5edff79 100644
--- a/src/kwsearch.c
+++ b/src/kwsearch.c
@@ -225,8 +225,8 @@ Fexecute (void *vcp, char const *buf, size_t size, size_t 
*match_size,
 
       /* We need a preceding mb_start pointer.  Use the beginning of line
          if there is a preceding newline, else BUF.  */
-      char const *bol = memrchr (mb_start, eol, beg - mb_start);
-      mb_start = bol ? bol + 1 : buf;
+      char const *nl = memrchr (mb_start, eol, beg - mb_start);
+      mb_start = nl ? nl + 1 : buf;
 
       /* Succeed if neither the preceding nor the following character is a
          word constituent.  If the preceding is not, yet the following

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=0effe42bf401eb5be2d977ec87c2fadb8fd1d5ba


commit 0172bf6825710b510b05c56136aee2d5f8d400e4
Author: Jim Meyering <address@hidden>
Date:   Sat Nov 16 10:51:25 2019 -0800

    maint: rename a variable: bol -> nl
    
    * src/kwsearch.c (Fexecute): Change misleading name: s/bol/nl/

diff --git a/src/kwsearch.c b/src/kwsearch.c
index b2d4fa4..5edff79 100644
--- a/src/kwsearch.c
+++ b/src/kwsearch.c
@@ -225,8 +225,8 @@ Fexecute (void *vcp, char const *buf, size_t size, size_t 
*match_size,
 
       /* We need a preceding mb_start pointer.  Use the beginning of line
          if there is a preceding newline, else BUF.  */
-      char const *bol = memrchr (mb_start, eol, beg - mb_start);
-      mb_start = bol ? bol + 1 : buf;
+      char const *nl = memrchr (mb_start, eol, beg - mb_start);
+      mb_start = nl ? nl + 1 : buf;
 
       /* Succeed if neither the preceding nor the following character is a
          word constituent.  If the preceding is not, yet the following

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=090a4dbe03951e427f03f83be424caacc3303799


commit 0172bf6825710b510b05c56136aee2d5f8d400e4
Author: Jim Meyering <address@hidden>
Date:   Sat Nov 16 10:51:25 2019 -0800

    maint: rename a variable: bol -> nl
    
    * src/kwsearch.c (Fexecute): Change misleading name: s/bol/nl/

diff --git a/src/kwsearch.c b/src/kwsearch.c
index b2d4fa4..5edff79 100644
--- a/src/kwsearch.c
+++ b/src/kwsearch.c
@@ -225,8 +225,8 @@ Fexecute (void *vcp, char const *buf, size_t size, size_t 
*match_size,
 
       /* We need a preceding mb_start pointer.  Use the beginning of line
          if there is a preceding newline, else BUF.  */
-      char const *bol = memrchr (mb_start, eol, beg - mb_start);
-      mb_start = bol ? bol + 1 : buf;
+      char const *nl = memrchr (mb_start, eol, beg - mb_start);
+      mb_start = nl ? nl + 1 : buf;
 
       /* Succeed if neither the preceding nor the following character is a
          word constituent.  If the preceding is not, yet the following

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


commit 0172bf6825710b510b05c56136aee2d5f8d400e4
Author: Jim Meyering <address@hidden>
Date:   Sat Nov 16 10:51:25 2019 -0800

    maint: rename a variable: bol -> nl
    
    * src/kwsearch.c (Fexecute): Change misleading name: s/bol/nl/

diff --git a/src/kwsearch.c b/src/kwsearch.c
index b2d4fa4..5edff79 100644
--- a/src/kwsearch.c
+++ b/src/kwsearch.c
@@ -225,8 +225,8 @@ Fexecute (void *vcp, char const *buf, size_t size, size_t 
*match_size,
 
       /* We need a preceding mb_start pointer.  Use the beginning of line
          if there is a preceding newline, else BUF.  */
-      char const *bol = memrchr (mb_start, eol, beg - mb_start);
-      mb_start = bol ? bol + 1 : buf;
+      char const *nl = memrchr (mb_start, eol, beg - mb_start);
+      mb_start = nl ? nl + 1 : buf;
 
       /* Succeed if neither the preceding nor the following character is a
          word constituent.  If the preceding is not, yet the following

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

Summary of changes:
 NEWS                                                |  5 +++++
 gnulib                                              |  2 +-
 po/POTFILES.in                                      |  1 +
 src/kwsearch.c                                      | 14 ++++++++------
 tests/Makefile.am                                   |  1 +
 tests/{high-bit-range => mb-non-UTF8-word-boundary} | 11 ++++++-----
 6 files changed, 22 insertions(+), 12 deletions(-)
 copy tests/{high-bit-range => mb-non-UTF8-word-boundary} (72%)


hooks/post-receive
-- 
grep



reply via email to

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