[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4100-g886abd9
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4100-g886abd9 |
Date: |
Thu, 20 Aug 2020 03:40:59 -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 886abd96488a120c196eddaf5db7943ff1b565e8 (commit)
via 216cf481c7728792aff212416b378c432ab28ccf (commit)
from 5f1833a32c83403de6284f556ff4fc2c5f5a834e (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=886abd96488a120c196eddaf5db7943ff1b565e8
commit 886abd96488a120c196eddaf5db7943ff1b565e8
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Thu Aug 20 01:40:43 2020 -0600
Fix CentOS 7 core dumps.
diff --git a/ChangeLog b/ChangeLog
index 70859ca..9912037 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-20 Arnold D. Robbins <arnold@skeeve.com>
+
+ * awk.h (NODE): Move valref completely out of the union. Fixes
+ core dumps on old GCC on CentOS 7.
+
2020-08-13 Arnold D. Robbins <arnold@skeeve.com>
Fix TIDYMEM / use of mtrace.
diff --git a/awk.h b/awk.h
index 3b688b0..c2218cd 100644
--- a/awk.h
+++ b/awk.h
@@ -382,7 +382,6 @@ typedef struct exp_node {
#endif
char *sp;
size_t slen;
- long sref;
int idx;
wchar_t *wsp;
size_t wslen;
@@ -464,6 +463,7 @@ typedef struct exp_node {
NUMCONSTSTR = 0x20000, /* have string value for
numeric constant */
REGEX = 0x40000, /* this is a typed regex */
} flags;
+ long valref;
} NODE;
#define vname sub.nodep.name
@@ -500,7 +500,6 @@ typedef struct exp_node {
*/
#define stptr sub.val.sp
#define stlen sub.val.slen
-#define valref sub.val.sref
#define stfmt sub.val.idx
#define strndmode sub.val.rndmode
#define wstptr sub.val.wsp
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=216cf481c7728792aff212416b378c432ab28ccf
commit 216cf481c7728792aff212416b378c432ab28ccf
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Thu Aug 20 01:09:16 2020 -0600
Fix test/profile14.ok.
diff --git a/test/ChangeLog b/test/ChangeLog
index 9ede01c..6cc960b 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-20 Arnold D. Robbins <arnold@skeeve.com>
+
+ * profile14.ok: Updated. Somehow it was not done right to
+ start.
+
2020-08-17 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (EXTRA_DIST): New tests, profile14 and profile15.
diff --git a/test/profile14.ok b/test/profile14.ok
index 993edd6..fb14561 100644
--- a/test/profile14.ok
+++ b/test/profile14.ok
@@ -8,6 +8,7 @@ BEGIN {
}
# --5-5-5-----------
+
#..4.4.4.............
function overridefunc(note)
{
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
awk.h | 3 +--
test/ChangeLog | 5 +++++
test/profile14.ok | 1 +
4 files changed, 12 insertions(+), 2 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4100-g886abd9,
Arnold Robbins <=