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. 6e7e7acd76d49c0d1f0cb60


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. 6e7e7acd76d49c0d1f0cb60829e8b340df318b88
Date: Wed, 08 Jun 2011 19:42:34 +0000

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  6e7e7acd76d49c0d1f0cb60829e8b340df318b88 (commit)
      from  8c713154f0ccaa4e303d8a7893974bed27ec4529 (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=6e7e7acd76d49c0d1f0cb60829e8b340df318b88

commit 6e7e7acd76d49c0d1f0cb60829e8b340df318b88
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Jun 8 22:42:15 2011 +0300

    Minor improvement in regcomp.c.

diff --git a/ChangeLog b/ChangeLog
index a509e9a..8eb3b70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun  8 22:41:30 2011  Arnold D. Robbins  <address@hidden>
+
+       * regcomp.c (build_range_exp): Add check for RE_NO_EMPTY_RANGES
+       from GNULIB regcomp.c, courtesy of GNU grep.
+
 Wed Jun  8 22:10:03 2011  Arnold D. Robbins  <address@hidden>
 
        * dfa.c: Sync with GNU grep.
diff --git a/regcomp.c b/regcomp.c
index 5f5fa39..22c79cd 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2702,7 +2702,8 @@ build_range_exp (reg_syntax_t syntax, bitset_t sbcset,
     cmp_buf[4] = end_wc;
     if (ignore_locales && start_wc > end_wc)
       return REG_ERANGE;
-    else if (wcscoll (cmp_buf, cmp_buf + 4) > 0)
+    else if ((syntax & RE_NO_EMPTY_RANGES)
+             && wcscoll (cmp_buf, cmp_buf + 4) > 0)
       return REG_ERANGE;
 
     /* Got valid collation sequence values, add them as a new entry.

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

Summary of changes:
 ChangeLog |    5 +++++
 regcomp.c |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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