gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, master, updated. gawk-4.1.0-4806-gc220a970


From: Arnold Robbins
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-4806-gc220a970
Date: Fri, 22 Jul 2022 06:39:46 -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, master has been updated
       via  c220a970623b597fc34064d0abf7776ecdcd302c (commit)
       via  831da7d4eea0e195eb7d78700fa897d4a0b880a5 (commit)
      from  a93bbdcaa645a21531baff961962495dc09f4bdd (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=c220a970623b597fc34064d0abf7776ecdcd302c

commit c220a970623b597fc34064d0abf7776ecdcd302c
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Fri Jul 22 13:39:22 2022 +0300

    Continued improvement in test/Makefile.am.

diff --git a/pc/ChangeLog b/pc/ChangeLog
index 15b7ab16..9b821b52 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2022-07-22         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * Makefile.tst: Regenerated.
+
 2022-07-21         Arnold D. Robbins     <arnold@skeeve.com>
 
        * Makefile.tst: Regenerated.
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 8ac18df0..067a72e4 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -196,7 +196,7 @@ GAWK_EXT_TESTS = \
        getlndir gnuops2 gnuops3 gnureops gsubind icasefs icasers id \
        igncdym igncfs ignrcas2 ignrcas4 ignrcase incdupe incdupe2 \
        incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 include include2 \
-       indirectbuiltin indirectbuiltin2 indirectcall indirectcall2 \
+       indirectbuiltin indirectcall indirectcall2 \
        indirectcall3 inf-nan-torture intarray iolint isarrayunset lint \
        lintexp lintindex lintint lintlength lintold lintplus lintset \
        lintwarn manyfiles match1 match2 match3 mbstr1 mbstr2 mdim1 mdim2 \
@@ -874,7 +874,7 @@ mpfruplus:
 
 mpfranswer42:
        @echo $@
-       @-$(AWK) -M -f "$(srcdir)"/mpfranswer42.awk > _$@ 2>&1 || echo EXIT 
CODE: $$? >> _$@
+       @-$(AWK) -M -f "$(srcdir)"/$@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >> 
_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
 mpfrmemok1:
@@ -882,6 +882,15 @@ mpfrmemok1:
        @-$(AWK) -p- -M -f "$(srcdir)"/$@.awk 2>&1 | sed 1d > _$@ || echo EXIT 
CODE: $$? >> _$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
+mpfrsqrt:
+       @-if $(AWK) --version | $(AWK) ' /API/ { exit 1 }' ; then \
+       true ; \
+       else \
+       echo $@ ; \
+       $(AWK) -M -f "$(srcdir)"/$@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >> 
_$@ ; \
+       $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \
+       fi
+
 jarebug::
        @echo $@
        @-"$(srcdir)"/$@.sh "$(AWKPROG)" "$(srcdir)"/$@.awk "$(srcdir)"/$@.in 
"_$@" || echo EXIT CODE: $$? >> _$@
@@ -3689,11 +3698,6 @@ mpfrrndeval:
        @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
-mpfrsqrt:
-       @echo $@
-       @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@
-       @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
-
 mpfrstrtonum:
        @echo $@
        @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@
diff --git a/test/ChangeLog b/test/ChangeLog
index 113cbe50..0c583671 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2022-07-22         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * Makefile.am: Take indirectbuiltin2 out of the extension tests also.
+       (mpfrsqrt): Add condition on supporting the API.
+
 2022-07-21         Arnold D. Robbins     <arnold@skeeve.com>
 
        * Makefile.am (SHLIB_TESTS): Add indirectbuiltin2, for z/OS.
diff --git a/test/Makefile.am b/test/Makefile.am
index fab4f5d4..7a57cec0 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1479,7 +1479,7 @@ GAWK_EXT_TESTS = \
        getlndir gnuops2 gnuops3 gnureops gsubind icasefs icasers id \
        igncdym igncfs ignrcas2 ignrcas4 ignrcase incdupe incdupe2 \
        incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 include include2 \
-       indirectbuiltin indirectbuiltin2 indirectcall indirectcall2 \
+       indirectbuiltin indirectcall indirectcall2 \
        indirectcall3 inf-nan-torture intarray iolint isarrayunset lint \
        lintexp lintindex lintint lintlength lintold lintplus lintset \
        lintwarn manyfiles match1 match2 match3 mbstr1 mbstr2 mdim1 mdim2 \
@@ -2166,7 +2166,7 @@ mpfruplus:
 
 mpfranswer42:
        @echo $@
-       @-$(AWK) -M -f "$(srcdir)"/mpfranswer42.awk > _$@ 2>&1 || echo EXIT 
CODE: $$? >> _$@
+       @-$(AWK) -M -f "$(srcdir)"/$@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >> 
_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
 mpfrmemok1:
@@ -2174,6 +2174,15 @@ mpfrmemok1:
        @-$(AWK) -p- -M -f "$(srcdir)"/$@.awk 2>&1 | sed 1d > _$@ || echo EXIT 
CODE: $$? >> _$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
+mpfrsqrt:
+       @if $(AWK) --version | $(AWK) ' /API/ { exit 1 }' ; then \
+       true ; \
+       else \
+       echo $@ ; \
+       $(AWK) -M -f "$(srcdir)"/$@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >> 
_$@ ; \
+       $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \
+       fi
+
 jarebug::
        @echo $@
        @-"$(srcdir)"/$@.sh "$(AWKPROG)" "$(srcdir)"/$@.awk "$(srcdir)"/$@.in 
"_$@" || echo EXIT CODE: $$? >> _$@
diff --git a/test/Makefile.in b/test/Makefile.in
index 4eedb674..3cb513ec 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1746,7 +1746,7 @@ GAWK_EXT_TESTS = \
        getlndir gnuops2 gnuops3 gnureops gsubind icasefs icasers id \
        igncdym igncfs ignrcas2 ignrcas4 ignrcase incdupe incdupe2 \
        incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 include include2 \
-       indirectbuiltin indirectbuiltin2 indirectcall indirectcall2 \
+       indirectbuiltin indirectcall indirectcall2 \
        indirectcall3 inf-nan-torture intarray iolint isarrayunset lint \
        lintexp lintindex lintint lintlength lintold lintplus lintset \
        lintwarn manyfiles match1 match2 match3 mbstr1 mbstr2 mdim1 mdim2 \
@@ -2620,7 +2620,7 @@ mpfruplus:
 
 mpfranswer42:
        @echo $@
-       @-$(AWK) -M -f "$(srcdir)"/mpfranswer42.awk > _$@ 2>&1 || echo EXIT 
CODE: $$? >> _$@
+       @-$(AWK) -M -f "$(srcdir)"/$@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >> 
_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
 mpfrmemok1:
@@ -2628,6 +2628,15 @@ mpfrmemok1:
        @-$(AWK) -p- -M -f "$(srcdir)"/$@.awk 2>&1 | sed 1d > _$@ || echo EXIT 
CODE: $$? >> _$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
+mpfrsqrt:
+       @if $(AWK) --version | $(AWK) ' /API/ { exit 1 }' ; then \
+       true ; \
+       else \
+       echo $@ ; \
+       $(AWK) -M -f "$(srcdir)"/$@.awk > _$@ 2>&1 || echo EXIT CODE: $$? >> 
_$@ ; \
+       $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \
+       fi
+
 jarebug::
        @echo $@
        @-"$(srcdir)"/$@.sh "$(AWKPROG)" "$(srcdir)"/$@.awk "$(srcdir)"/$@.in 
"_$@" || echo EXIT CODE: $$? >> _$@
@@ -5411,11 +5420,6 @@ mpfrrndeval:
        @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
-mpfrsqrt:
-       @echo $@
-       @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@
-       @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
-
 mpfrstrtonum:
        @echo $@
        @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@
diff --git a/test/Maketests b/test/Maketests
index b0e8d4c0..79db8c6b 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -2421,11 +2421,6 @@ mpfrrndeval:
        @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
 
-mpfrsqrt:
-       @echo $@
-       @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@
-       @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
-
 mpfrstrtonum:
        @echo $@
        @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk  -M >_$@ 2>&1 || echo EXIT CODE: 
$$? >>_$@

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=831da7d4eea0e195eb7d78700fa897d4a0b880a5

commit 831da7d4eea0e195eb7d78700fa897d4a0b880a5
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Fri Jul 22 13:38:49 2022 +0300

    Fix in missing_d/strsignal.c.

diff --git a/missing_d/ChangeLog b/missing_d/ChangeLog
index fbad7084..31e5587b 100644
--- a/missing_d/ChangeLog
+++ b/missing_d/ChangeLog
@@ -1,3 +1,7 @@
+2022-07-22         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * strsignal.c (strsignal): Fix return type to match Linux header.
+
 2022-07-19         Arnold D. Robbins     <arnold@skeeve.com>
 
        * strsignal.c: New file.
diff --git a/missing_d/strsignal.c b/missing_d/strsignal.c
index 6ad51dee..e08e4d2e 100644
--- a/missing_d/strsignal.c
+++ b/missing_d/strsignal.c
@@ -1,6 +1,6 @@
 /* strsignal --- replacement version for systems that don't have it */
 
-const char*
+char *
 strsignal(int signal)
 {
        static char buffer[100];

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

Summary of changes:
 missing_d/ChangeLog   |  4 ++++
 missing_d/strsignal.c |  2 +-
 pc/ChangeLog          |  4 ++++
 pc/Makefile.tst       | 18 +++++++++++-------
 test/ChangeLog        |  5 +++++
 test/Makefile.am      | 13 +++++++++++--
 test/Makefile.in      | 18 +++++++++++-------
 test/Maketests        |  5 -----
 8 files changed, 47 insertions(+), 22 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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