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-4247-gf0ac4fd


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4247-gf0ac4fd
Date: Thu, 13 May 2021 07:21:09 -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  f0ac4fd694f79c45a67c40543622bcf458b88dae (commit)
      from  50f97722d80c7cfee247a3ebb0f8cfbed943033b (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=f0ac4fd694f79c45a67c40543622bcf458b88dae

commit f0ac4fd694f79c45a67c40543622bcf458b88dae
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu May 13 14:20:56 2021 +0300

    Fixes for z/OS.

diff --git a/ChangeLog b/ChangeLog
index 66c4677..8c43457 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-05-13         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * custom.h: For z/OS, define _REGEX_INCLUDE_LIMITS_H.
+       * profile.c (pprint): Add a diagnostic print for an
+       unexprected node type.
+
 2021-05-05         Arnold D. Robbins     <arnold@skeeve.com>
 
        Move to Automake 1.16.3.
diff --git a/custom.h b/custom.h
index aa0d7d6..43fb11e 100644
--- a/custom.h
+++ b/custom.h
@@ -92,6 +92,12 @@ typedef unsigned long long uint_fast64_t;
 #define _XOPEN_SOURCE_EXTENDED 1
 #endif
 
+#ifdef __MVS__
+#ifndef _REGEX_INCLUDE_LIMITS_H
+#define _REGEX_INCLUDE_LIMITS_H 1
+#endif
+#endif
+
 /* Junk for dfa.[ch] */
 /* The __pure__ attribute was added in gcc 2.96.  */
 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
diff --git a/pc/ChangeLog b/pc/ChangeLog
index 3fc745e..706ba17 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-13         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * Makefile.tst: Regenerated.
+
 2021-05-12         Arnold D. Robbins     <arnold@skeeve.com>
 
        * GenMakefileTst.awk: Fix the test for the @echo line.
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 50bcf8e..4b99204 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -342,13 +342,12 @@ EXPECTED_FAIL_ZOS = \
        aasort aasorti arraysort asort asorti backbigs1 backsmalls1 \
        backsmalls2 beginfile1 beginfile2 charasbytes clos1way6 concat4 \
        dfamb1 double1 double2 errno fmttest forcenum getlndir gsubtst5 \
-       ignrcas2 lc_num1 localenl localenl mbfw1 mbprintf1 mbprintf2 \
-       mbprintf3 mbprintf4 mbprintf5 mbstr1 mbstr2 mtchi18n nlstringtest \
-       nofile nonfatal2 numrange printhuge profile5 profile5 rebt8b2 \
-       posix_compare \
-       regrange reint2 rri1 sigpipe1 sort1 sortfor sortu space sprintfc \
-       subamp subi18n symtab1 symtab11 symtab8 timeout wideidx wideidx2 \
-       widesub widesub2 widesub3 widesub4
+       ignrcas2 inf-nan-torture iolint lc_num1 localenl mbfw1 mbprintf1 \
+       mbprintf2 mbprintf3 mbprintf4 mbprintf5 mbstr1 mbstr2 mtchi18n \
+       nlstringtest nofile nonfatal2 numrange posix_compare printhuge \
+       profile5 rebt8b2 regrange reint2 rri1 sigpipe1 sort1 sortfor \
+       sortu space sprintfc subamp subi18n symtab1 symtab11 symtab8 \
+       timeout wideidx wideidx2 widesub widesub2 widesub3 widesub4
 
 
 # List of the files that appear in manual tests or are for reserve testing:
@@ -2901,7 +2900,7 @@ indirectcall2:
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
 inf-nan-torture:
-       @echo $@
+       @echo $@ $(ZOS_FAIL)
        @echo Expect $@ to fail with MinGW.
        @AWKPATH="$(srcdir)" $(AWK) -f $@.awk  < "$(srcdir)"/$@.in >_$@ 2>&1 || 
echo EXIT CODE: $$? >>_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
@@ -3636,8 +3635,7 @@ Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests
 clean-local:
        rm -fr _* core core.* fmtspcl.ok junk strftime.ok test1 test2 \
        seq *~ readfile.ok fork.tmp.* testext.awk fts.ok readdir.ok \
-       readdir_test.ok readdir_retest.ok \
-       profile1.ok
+       readdir_test.ok readdir_retest.ok profile1.ok X_*
 
 # An attempt to print something that can be grepped for in build logs
 pass-fail:
diff --git a/profile.c b/profile.c
index b61d29c..748abda 100644
--- a/profile.c
+++ b/profile.c
@@ -373,6 +373,7 @@ pprint(INSTRUCTION *startp, INSTRUCTION *endp, int flags)
                                break;
 
                        default:
+                               fprintf(stderr, "Got unexpected type %s\n", 
nodetype2str(m->type));
                                cant_happen();
                        }
 
diff --git a/test/ChangeLog b/test/ChangeLog
index f6aaf22..d43ba1b 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-13         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * Makefile.am (EXPECTED_FAIL_ZOS): Updated and sorted / uniqued.
+       (clean-local): Remove X_* files from diffout-zos.
+
 2021-05-12         Arnold D. Robbins     <arnold@skeeve.com>
 
        * localenl.sh: Fix for Bash 5.1. Thanks to
diff --git a/test/Makefile.am b/test/Makefile.am
index 99fb343..3f9e930 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1580,13 +1580,12 @@ EXPECTED_FAIL_ZOS = \
        aasort aasorti arraysort asort asorti backbigs1 backsmalls1 \
        backsmalls2 beginfile1 beginfile2 charasbytes clos1way6 concat4 \
        dfamb1 double1 double2 errno fmttest forcenum getlndir gsubtst5 \
-       ignrcas2 lc_num1 localenl localenl mbfw1 mbprintf1 mbprintf2 \
-       mbprintf3 mbprintf4 mbprintf5 mbstr1 mbstr2 mtchi18n nlstringtest \
-       nofile nonfatal2 numrange printhuge profile5 profile5 rebt8b2 \
-       posix_compare \
-       regrange reint2 rri1 sigpipe1 sort1 sortfor sortu space sprintfc \
-       subamp subi18n symtab1 symtab11 symtab8 timeout wideidx wideidx2 \
-       widesub widesub2 widesub3 widesub4
+       ignrcas2 inf-nan-torture iolint lc_num1 localenl mbfw1 mbprintf1 \
+       mbprintf2 mbprintf3 mbprintf4 mbprintf5 mbstr1 mbstr2 mtchi18n \
+       nlstringtest nofile nonfatal2 numrange posix_compare printhuge \
+       profile5 rebt8b2 regrange reint2 rri1 sigpipe1 sort1 sortfor \
+       sortu space sprintfc subamp subi18n symtab1 symtab11 symtab8 \
+       timeout wideidx wideidx2 widesub widesub2 widesub3 widesub4
 
 ZOS_FAIL = @ZOS_FAIL@
 
@@ -2497,8 +2496,7 @@ Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests
 clean-local:
        rm -fr _* core core.* fmtspcl.ok junk strftime.ok test1 test2 \
        seq *~ readfile.ok fork.tmp.* testext.awk fts.ok readdir.ok \
-       readdir_test.ok readdir_retest.ok \
-       profile1.ok
+       readdir_test.ok readdir_retest.ok profile1.ok X_*
 
 # An attempt to print something that can be grepped for in build logs
 pass-fail:
diff --git a/test/Makefile.in b/test/Makefile.in
index 4b11346..e73a950 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1845,13 +1845,12 @@ EXPECTED_FAIL_ZOS = \
        aasort aasorti arraysort asort asorti backbigs1 backsmalls1 \
        backsmalls2 beginfile1 beginfile2 charasbytes clos1way6 concat4 \
        dfamb1 double1 double2 errno fmttest forcenum getlndir gsubtst5 \
-       ignrcas2 lc_num1 localenl localenl mbfw1 mbprintf1 mbprintf2 \
-       mbprintf3 mbprintf4 mbprintf5 mbstr1 mbstr2 mtchi18n nlstringtest \
-       nofile nonfatal2 numrange printhuge profile5 profile5 rebt8b2 \
-       posix_compare \
-       regrange reint2 rri1 sigpipe1 sort1 sortfor sortu space sprintfc \
-       subamp subi18n symtab1 symtab11 symtab8 timeout wideidx wideidx2 \
-       widesub widesub2 widesub3 widesub4
+       ignrcas2 inf-nan-torture iolint lc_num1 localenl mbfw1 mbprintf1 \
+       mbprintf2 mbprintf3 mbprintf4 mbprintf5 mbstr1 mbstr2 mtchi18n \
+       nlstringtest nofile nonfatal2 numrange posix_compare printhuge \
+       profile5 rebt8b2 regrange reint2 rri1 sigpipe1 sort1 sortfor \
+       sortu space sprintfc subamp subi18n symtab1 symtab11 symtab8 \
+       timeout wideidx wideidx2 widesub widesub2 widesub3 widesub4
 
 
 # List of the files that appear in manual tests or are for reserve testing:
@@ -4568,7 +4567,7 @@ indirectcall2:
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
 inf-nan-torture:
-       @echo $@
+       @echo $@ $(ZOS_FAIL)
        @AWKPATH="$(srcdir)" $(AWK) -f $@.awk  < "$(srcdir)"/$@.in >_$@ 2>&1 || 
echo EXIT CODE: $$? >>_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
@@ -5286,8 +5285,7 @@ Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests
 clean-local:
        rm -fr _* core core.* fmtspcl.ok junk strftime.ok test1 test2 \
        seq *~ readfile.ok fork.tmp.* testext.awk fts.ok readdir.ok \
-       readdir_test.ok readdir_retest.ok \
-       profile1.ok
+       readdir_test.ok readdir_retest.ok profile1.ok X_*
 
 # An attempt to print something that can be grepped for in build logs
 pass-fail:
diff --git a/test/Maketests b/test/Maketests
index 20ed4a7..a36ac8c 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -1633,7 +1633,7 @@ indirectcall2:
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
 inf-nan-torture:
-       @echo $@
+       @echo $@ $(ZOS_FAIL)
        @AWKPATH="$(srcdir)" $(AWK) -f $@.awk  < "$(srcdir)"/$@.in >_$@ 2>&1 || 
echo EXIT CODE: $$? >>_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 

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

Summary of changes:
 ChangeLog        |  6 ++++++
 custom.h         |  6 ++++++
 pc/ChangeLog     |  4 ++++
 pc/Makefile.tst  | 18 ++++++++----------
 profile.c        |  1 +
 test/ChangeLog   |  5 +++++
 test/Makefile.am | 16 +++++++---------
 test/Makefile.in | 18 ++++++++----------
 test/Maketests   |  2 +-
 9 files changed, 46 insertions(+), 30 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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