[Top][All Lists]

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

[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2356-g0dd805

From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2356-g0dd8054
Date: Wed, 30 Nov 2016 19:28:04 +0000 (UTC)

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 "gawk".

The branch, master has been updated
       via  0dd8054d05d8286f2f7cbcf85456c6953a9b6146 (commit)
      from  295eef206ed65daa9801fc72875b34994b23ca01 (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 -----------------------------------------------------------------

commit 0dd8054d05d8286f2f7cbcf85456c6953a9b6146
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Nov 30 21:27:52 2016 +0200

    Sync dfa with GNULIB.

diff --git a/ChangeLog b/ChangeLog
index b2f0e8c..b3f3363 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-30         Arnold D. Robbins     <address@hidden>
+       * dfa.c: Sync with fixes in GNULIB.
 2016-11-29         Arnold D. Robbins     <address@hidden>
        Remove redundant flag from dfa:
diff --git a/dfa.c b/dfa.c
index 0a23105..ae64ba9 100644
--- a/dfa.c
+++ b/dfa.c
@@ -2652,6 +2652,12 @@ dfastate (state_num s, struct dfa *d, unsigned char uc, 
state_num trans[])
           if (j == CHARCLASS_WORDS)
+          /* If we have reset the bit that made us declare "matched", reset
+             that indicator, too.  This is required to avoid an infinite loop
+             with this command: echo cx | LC_ALL=C grep -E 'c\b[x ]'  */
+          if (!tstbit (uc, matches))
+            matched = false;
 #ifdef DEBUG


Summary of changes:
 ChangeLog |    4 ++++
 dfa.c     |    6 ++++++
 2 files changed, 10 insertions(+)


reply via email to

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