gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2353-gb2aca8


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2353-gb2aca8c
Date: Mon, 28 Nov 2016 19:23:26 +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  b2aca8c7877af71e056210030ba2d8354a47d43f (commit)
      from  110a61377deed6871b83827497ec6674c139f61f (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.sv.gnu.org/cgit/gawk.git/commit/?id=b2aca8c7877af71e056210030ba2d8354a47d43f

commit b2aca8c7877af71e056210030ba2d8354a47d43f
Author: Arnold D. Robbins <address@hidden>
Date:   Mon Nov 28 21:23:10 2016 +0200

    Sync dfa with gnulib.

diff --git a/ChangeLog b/ChangeLog
index 2d88b91..0209b81 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,7 @@
 
        Unrelated:
 
-       * dfa.c: Sync with GNULIB.
+       * dfa.c: Sync with GNULIB. Twice in one day.
 
 2016-11-21         Arnold D. Robbins     <address@hidden>
 
diff --git a/dfa.c b/dfa.c
index f393918..b735445 100644
--- a/dfa.c
+++ b/dfa.c
@@ -2939,7 +2939,7 @@ transit_state (struct dfa *d, state_num s, unsigned char 
const **pp,
   /* Calculate the state which can be reached from the state 's' by
      consuming 'mbclen' single bytes from the buffer.  */
   s1 = s;
-  for (i = 0; i < mbclen && 0 <= s; i++)
+  for (i = 0; i < mbclen && (i == 0 || d->min_trcount <= s); i++)
     s = transit_state_singlebyte (d, s, pp);
   *pp += mbclen - i;
 
@@ -3298,12 +3298,6 @@ free_mbdata (struct dfa *d)
 static bool _GL_ATTRIBUTE_PURE
 dfa_supported (struct dfa const *d)
 {
-  /* Declare any non-UTF8 multibyte locale "not supported."  Otherwise, a
-     regexp like ".*7" would mistakenly match \uC9, e.g., via this command:
-     (export LC_ALL=zh_CN.gb18030; printf '\uC9\n' | grep '.*7')  */
-  if (d->localeinfo.multibyte && !d->localeinfo.using_utf8)
-    return false;
-
   size_t i;
   for (i = 0; i < d->tindex; i++)
     {

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

Summary of changes:
 ChangeLog |    2 +-
 dfa.c     |    8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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