aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJohn Malmberg <wb8tyw@qsl.net>2018-01-24 08:13:07 -0600
committerJohn Malmberg <wb8tyw@qsl.net>2018-01-24 08:13:07 -0600
commit3c9b2db6e1d639eccb9e7b61fc83d00d0599c47a (patch)
tree9f6d7ea80521908e8c0f3647475d44119c79c70e /test
parent5dc349424b717a55c310f48671e4d15a757765e9 (diff)
downloadegawk-3c9b2db6e1d639eccb9e7b61fc83d00d0599c47a.tar.gz
egawk-3c9b2db6e1d639eccb9e7b61fc83d00d0599c47a.tar.bz2
egawk-3c9b2db6e1d639eccb9e7b61fc83d00d0599c47a.zip
Fix lintold.awk for VAX/VMS
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog5
-rw-r--r--test/lintold.awk2
2 files changed, 6 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 04e7f121..875f2ded 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-24 John E. Malmberg <wb8tyw@qsl.net>
+
+ * lintold.awk: Minor change to allow test to run on
+ 32 bit VAX/VMS with out a floating overflow.
+
2018-01-18 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (pty2): Instead of sed, use simpler awk goop
diff --git a/test/lintold.awk b/test/lintold.awk
index 698187a3..d312fc66 100644
--- a/test/lintold.awk
+++ b/test/lintold.awk
@@ -8,7 +8,7 @@ BEGIN {
if (2 in a)
a[2] **= 2;
if ((2,3) in a)
- a[2,3] ^= 2 ** 3 ^ 5;
+ a[2,3] ^= 2 ** 3 ^ 4;
}
BEGIN {
FS = "ab"