diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-13 16:51:45 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-13 16:51:45 +0300 |
commit | 356f7fbe484236c43a589c3338387f0097c87859 (patch) | |
tree | 8e515654b4ddb1c46e3713f4d661333d1925377b | |
parent | 06cbdb5103c1bd5565fd61b2c854a86cd3c3fd85 (diff) | |
parent | 9f4d21a8c8e78f223f993139a857fccd0bc30a29 (diff) | |
download | egawk-356f7fbe484236c43a589c3338387f0097c87859.tar.gz egawk-356f7fbe484236c43a589c3338387f0097c87859.tar.bz2 egawk-356f7fbe484236c43a589c3338387f0097c87859.zip |
Merge branch 'gawk-5.1-stable'
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | custom.h | 6 | ||||
-rw-r--r-- | pc/ChangeLog | 4 | ||||
-rw-r--r-- | pc/Makefile.tst | 18 | ||||
-rw-r--r-- | pc/config.h | 6 | ||||
-rw-r--r-- | profile.c | 1 | ||||
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rw-r--r-- | test/Makefile.am | 16 | ||||
-rw-r--r-- | test/Makefile.in | 18 | ||||
-rw-r--r-- | test/Maketests | 2 |
10 files changed, 49 insertions, 33 deletions
@@ -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> * CMakeLists.txt: Removed. @@ -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 3fc745ec..706ba171 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 50bcf8e4..4b99204f 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/pc/config.h b/pc/config.h index 19f6fcae..a3303741 100644 --- a/pc/config.h +++ b/pc/config.h @@ -464,7 +464,7 @@ #define PACKAGE_NAME "GNU Awk" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "GNU Awk 5.1.1c" +#define PACKAGE_STRING "GNU Awk 5.1.1d" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gawk" @@ -473,7 +473,7 @@ #define PACKAGE_URL "http://www.gnu.org/software/gawk/" /* Define to the version of this package. */ -#define PACKAGE_VERSION "5.1.1c" +#define PACKAGE_VERSION "5.1.1d" /* Define to 1 if *printf supports %a format */ #define PRINTF_HAS_A_FORMAT 1 @@ -534,7 +534,7 @@ /* Version number of package */ -#define VERSION "5.1.1c" +#define VERSION "5.1.1d" /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE @@ -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 3f2d40e5..2808eaf9 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 99fb3438..3f9e9308 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 4b113466..e73a950b 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 20ed4a7f..a36ac8cf 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 _$@ |