gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4053-g6922f06


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4053-g6922f06
Date: Wed, 29 Jul 2020 08:55:56 -0400 (EDT)

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-5.1-stable has been updated
       via  6922f06b21ad10c5bfd07ae22d149f700f761a67 (commit)
      from  7b10924a0f6cc443742af2f032ddbafea1c62e4e (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=6922f06b21ad10c5bfd07ae22d149f700f761a67

commit 6922f06b21ad10c5bfd07ae22d149f700f761a67
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Wed Jul 29 15:55:27 2020 +0300

    Update dfa.h and support flexible array member.

diff --git a/ChangeLog b/ChangeLog
index df5db6f..9f5b2f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-29         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * custom.h (FLEXIBLE_ARRAY_MEMBER): Define to 1 for dfa.h.
+
 2020-07-28         Arnold D. Robbins     <arnold@skeeve.com>
 
        Eliminate 'iszero: redefined' warning from tcc.
diff --git a/custom.h b/custom.h
index 61d339d..aa0d7d6 100644
--- a/custom.h
+++ b/custom.h
@@ -99,5 +99,6 @@ typedef unsigned long long uint_fast64_t;
 #else
 # define _GL_ATTRIBUTE_PURE /* empty */
 #endif
+#define FLEXIBLE_ARRAY_MEMBER  1
 
 #include "mbsupport.h" /* defines stuff for DJGPP to fake MBS */
diff --git a/support/ChangeLog b/support/ChangeLog
index 5a6c434..fc3500a 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-29         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * dfa.h: Synced from GNULIB.
+
 2020-07-26         Arnold D. Robbins     <arnold@skeeve.com>
 
        * cdefs.h, dfa.c, libc-config.h, localeinfo.c, localeinfo.h,
diff --git a/support/dfa.h b/support/dfa.h
index 80e8dba..c5bff89 100644
--- a/support/dfa.h
+++ b/support/dfa.h
@@ -31,7 +31,7 @@ struct dfamust
   bool exact;
   bool begline;
   bool endline;
-  char *must;
+  char must[FLEXIBLE_ARRAY_MEMBER];
 };
 
 /* The dfa structure. It is completely opaque. */

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

Summary of changes:
 ChangeLog         | 4 ++++
 custom.h          | 1 +
 support/ChangeLog | 4 ++++
 support/dfa.h     | 2 +-
 4 files changed, 10 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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