gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-284


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-2843-gfb44529
Date: Fri, 1 Dec 2017 06:57:09 -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 "gawk".

The branch, gawk-4.2-stable has been updated
       via  fb44529bfa05b9c05cc2edd49566db1b3a37ca54 (commit)
      from  ac018ace5fc53299a91d7dcc3e442ef017f4c3af (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=fb44529bfa05b9c05cc2edd49566db1b3a37ca54

commit fb44529bfa05b9c05cc2edd49566db1b3a37ca54
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Dec 1 13:56:50 2017 +0200

    Small updates in support routines.

diff --git a/support/ChangeLog b/support/ChangeLog
index f7b450c..a4520ec 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,9 @@
+2017-12-01         Arnold D. Robbins     <address@hidden>
+
+       * intprops.h: Sync with GNULIB.
+       * regcomp.c (init_word): Move general_case label inside ifdef.
+       * regex.h: Don't define __USE_GNU. Brings closer to GLIBC regex.
+
 2017-11-26         Arnold D. Robbins     <address@hidden>
 
        * regcomp.c regex_internal.c, regex_internal.h, regexec.c: Sync
diff --git a/support/intprops.h b/support/intprops.h
index 33a7ec5..fd6d926 100644
--- a/support/intprops.h
+++ b/support/intprops.h
@@ -13,7 +13,7 @@
    GNU Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
 
 /* Written by Paul Eggert.  */
 
@@ -26,7 +26,7 @@
 #define _GL_INT_CONVERT(e, v) (0 * (e) + (v))
 
 /* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see
-   <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00406.html>.  */
+   <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00406.html>.  */
 #define _GL_INT_NEGATE_CONVERT(e, v) (0 * (e) - (v))
 
 /* The extra casts in the following macros work around compiler bugs,
@@ -179,7 +179,7 @@
 /* Return 1 if A * B would overflow in [MIN,MAX] arithmetic.
    See above for restrictions.  Avoid && and || as they tickle
    bugs in Sun C 5.11 2010/08/13 and other compilers; see
-   <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00401.html>.  */
+   <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00401.html>.  */
 #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max)     \
   ((b) < 0                                              \
    ? ((a) < 0                                           \
@@ -443,7 +443,7 @@
    implementation-defined result or signal for values outside T's
    range.  However, code that works around this theoretical problem
    runs afoul of a compiler bug in Oracle Studio 12.3 x86.  See:
-   http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00049.html
+   https://lists.gnu.org/r/bug-gnulib/2017-04/msg00049.html
    As the compiler bug is real, don't try to work around the
    theoretical problem.  */
 
diff --git a/support/regcomp.c b/support/regcomp.c
index 2b662ed..4fca110 100644
--- a/support/regcomp.c
+++ b/support/regcomp.c
@@ -999,9 +999,9 @@ init_word_char (re_dfa_t *dfa)
          return;
        }
     }
-#endif
 
  general_case:
+#endif
   for (; i < BITSET_WORDS; ++i)
     for (int j = 0; j < BITSET_WORD_BITS; ++j, ++ch)
       if (isalnum (ch) || ch == '_')
diff --git a/support/regex.h b/support/regex.h
index adddd9e..1bbbb26 100644
--- a/support/regex.h
+++ b/support/regex.h
@@ -28,10 +28,6 @@
 #include <sys/types.h>
 #endif
 
-#ifndef _LIBC
-#define __USE_GNU      1
-#endif
-
 /* Allow the use in C++ code.  */
 #ifdef __cplusplus
 extern "C" {

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

Summary of changes:
 support/ChangeLog  | 6 ++++++
 support/intprops.h | 8 ++++----
 support/regcomp.c  | 2 +-
 support/regex.h    | 4 ----
 4 files changed, 11 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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