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-4833-g21f42970


From: John Malmberg
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-4833-g21f42970
Date: Sat, 6 Aug 2022 13:24:45 -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  21f429706d20b771d97aa3da34d11e4fb655c115 (commit)
      from  8d3507305929dbeb01cec82248f661eb096016f2 (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=21f429706d20b771d97aa3da34d11e4fb655c115

commit 21f429706d20b771d97aa3da34d11e4fb655c115
Author: John Malmberg <wb8tyw@qsl.net>
Date:   Sat Aug 6 12:01:28 2022 -0500

    Update for new OpenVMS versions.

diff --git a/ChangeLog b/ChangeLog
index 903584d4..7820afa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-08-06         John E. Malmberg      <wb8tyw@qsl.net>
+
+       * custom.h: Update for new VMS Versions
+
 2022-08-03         Arnold D. Robbins     <arnold@skeeve.com>
 
        * mpfr.c (mpfr_mem_alloc, mpfr_mem_realloc, mpfr_mem_free):
diff --git a/README_d/ChangeLog b/README_d/ChangeLog
index a87bc076..a05027a4 100644
--- a/README_d/ChangeLog
+++ b/README_d/ChangeLog
@@ -1,3 +1,7 @@
+2022-08-06         John E. Malmberg      <wb8tyw@qsl.net>
+
+       * README.VMS: VAX building and testing is dropped.
+
 2022-08-03         Arnold D. Robbins     <arnold@skeeve.com>
 
        * README.pc: Some additional updates.
diff --git a/README_d/README.VMS b/README_d/README.VMS
index 0faabbc2..b4797039 100644
--- a/README_d/README.VMS
+++ b/README_d/README.VMS
@@ -15,11 +15,23 @@ MMS has had problems on ODS-5 volumes.  MMK does not have 
these issues.
 MMK is available free from https://github.com/endlesssoftware/mmk.
 The most recent builds of gawk on VMS used MMK.
 
-Support of the vmsbuild.com may get dropped in a future release.
+The vmsbuild.com script is no longer being tested.
 
 DEC C  -- use either vmsbuild.com or descrip.mms as is.
        DEC C is also known as Compaq C and HP C.
 
+With the end of HPE Hobbyist OpenVMS licenses as of 2022, only
+builds with VMS Software Inc. (VSI) Community Licenses are being tested.
+
+Builds have been using:
+    HP C V7.3-020 on OpenVMS IA64 V8.4-2L3
+    HP C V7.3-010 on OpenVMS Alpha V8.4-2L1
+
+A build system for OpenVMS x86_64 has not yet been setup by a gawk
+tester / maintainer.
+
+These were the last known ways to build on VAX:
+
 VAX C  -- use `@vmsbuild VAXC' or `MMS/MACRO=("VAXC")'.  On a system
         with both VAX C and DEC C installed where DEC C is the default,
         use `MMS/MACRO=("VAXC","CC=CC/VAXC")' for the MMS variant; for
@@ -33,12 +45,6 @@ GNU C  -- use `@vmsbuild GNUC' or `MMS/MACRO=("GNUC")'.  On 
a system
         `@vmsbuild GNUC DO_GNUC_SETUP' or
         `MMS/MACRO=("GNUC","DO_GNUC_SETUP")'.
 
-Most recent builds are using:
-    OpenVMS VAX 7.3 using DEC C 6.4
-    OpenVMS Alpha 8.3 using HP C V 7.3
-    OpenVMS Alpha 8.4 using HP C V 7.3
-    OpenVMS IA64 8.4 using HP C V 7.3
-
 GAWK was originally ported for VMS V4.6 and up.  It has not been tested
 with a release that old for some time.
 
@@ -213,14 +219,11 @@ names.
 
 TO DO Items (not in order of priority)
 
-1. Implement dynamic plug-ins on VAX.
-
-2. With the system() function, the status for DCL commands are not being
+1. With the system() function, the status for DCL commands are not being
    returned.
-
-3. Need gawk to accept logical names GNV$AWKPATH, GNV$AWKLIB, and
+2. Need gawk to accept logical names GNV$AWKPATH, GNV$AWKLIB, and
    GNV$AWK_LIBARARY in addtion to the unprefixed names.  This will allow
    system wide default values to be set by an installation kit.
 
-4. Need to fix the gawk.cld file to not require a parameter for the options
+3. Need to fix the gawk.cld file to not require a parameter for the options
    that do not use the parameter.
diff --git a/custom.h b/custom.h
index 2b77992c..37928f94 100644
--- a/custom.h
+++ b/custom.h
@@ -60,14 +60,18 @@
 #define ULLONG_MAX __UINT64_MAX
 #endif /* ULLONG_MAX */
 #endif /* __VAX */
+#ifndef HAVE_STDINT_H
 typedef char int_least8_t;
 typedef unsigned char uint_least8_t;
 typedef short int_least16_t;
 typedef unsigned short uint_least16_t;
+typedef unsigned long uint_fast32_t;
+typedef long int_fast32_t;
 #ifndef __VAX
 typedef long long int_fast64_t;
 typedef unsigned long long uint_fast64_t;
 #endif /* __VAX */
+#endif
 #endif /* __VMS */
 
 
@@ -125,3 +129,7 @@ typedef unsigned long long uint_fast64_t;
 #define pma_set_root(rootptr)  /* nothing */
 #define pma_errno 0
 #endif /* ! USE_PERSISTENT_MALLOC */
+
+#ifndef HAVE_STRSIGNAL
+char * strsignal(int signal);
+#endif /* ! HAVE_STRSIGNAL */
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 6c8ae274..33a9949d 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,10 @@
+2022-08-06         John E. Malmberg      <wb8tyw@qsl.net>
+
+       * config_h.com: Update for new VMS versions.
+       * descrip.mms: mbsupport.h no longer exists.
+       * generate_vms_h_gawk.com: Update for new VMS versions.
+       * vmstest.com: Fix symtab10 test
+
 2022-07-14         Arnold D. Robbins     <arnold@skeeve.com>
 
        * gawkmisc.vms: Update copyright.
diff --git a/vms/config_h.com b/vms/config_h.com
index 0074a65a..08b78562 100644
--- a/vms/config_h.com
+++ b/vms/config_h.com
@@ -358,6 +358,7 @@ $   endif
 $!
 $      if key2 .eqs. "intmax_t"
 $      then
+$           write tf "#ifndef HAVE_INTMAX_T"
 $          write tf "#ifndef ''key2'"
 $          write tf "#ifdef __VAX"
 $          write tf "#define ''key2' long"
@@ -365,11 +366,13 @@ $     write tf "#else"
 $          write tf "#define ''key2' long long"
 $          write tf "#endif"
 $          write tf "#endif"
+$           write tf "#endif"
 $          goto cfgh_in_loop1
 $      endif
 $!
 $      if key2 .eqs. "uintmax_t"
 $      then
+$           write tf "#ifndef HAVE_UINTMAX_T
 $          write tf "#ifndef ''key2'"
 $          write tf "#ifdef __VAX"
 $          write tf "#define ''key2' unsigned long"
@@ -377,14 +380,17 @@ $     write tf "#else"
 $          write tf "#define ''key2' unsigned long long"
 $          write tf "#endif"
 $          write tf "#endif"
+$           write tf "#endif"
 $          goto cfgh_in_loop1
 $      endif
 $!
 $      if key2 .eqs. "socklen_t"
 $      then
+$           write tf "#if (__CRTL_VER < 80500000)"
 $          write tf "#ifndef ''key2'"
 $          write tf "#define ''key2' int"
 $          write tf "#endif"
+$           write tf "#endif"
 $          goto cfgh_in_loop1
 $      endif
 $!
diff --git a/vms/descrip.mms b/vms/descrip.mms
index 462a1642..8f88cd42 100644
--- a/vms/descrip.mms
+++ b/vms/descrip.mms
@@ -165,7 +165,7 @@ gawk.opt : $(MAKEFILE) config.h         # create linker 
options file
       $ @$(VMSDIR)gawk_ident.com
 
 $(VMSCODE)     : awk.h config.h $(VMSDIR)redirect.h $(VMSDIR)vms.h
-$(AWKOBJS)     : awk.h gettext.h mbsupport.h $(SUPPORT)regex.h \
+$(AWKOBJS)     : awk.h gettext.h $(SUPPORT)regex.h \
                  $(SUPPORT)dfa.h config.h $(VMSDIR)redirect.h
 $(GAWKOBJ)     : awk.h config.h $(VMSDIR)redirect.h
 
diff --git a/vms/generate_config_vms_h_gawk.com 
b/vms/generate_config_vms_h_gawk.com
index 681a73b1..b198585d 100755
--- a/vms/generate_config_vms_h_gawk.com
+++ b/vms/generate_config_vms_h_gawk.com
@@ -147,8 +147,6 @@ $ write cvh "#ifndef __DECC /* DEC C does not support 
#pragma builtins */"
 $ write cvh "#define VAXC_BUILTINS"
 $ write cvh "#endif"
 $ write cvh "/* #define YYDEBUG 0 */"
-$ write cvh -
-  "#define NO_MBSUPPORT  /* VAX C's preprocessor can't handle mbsupport.h */"
 $ write cvh "#endif"
 $ write cvh ""
 $ write cvh ""
@@ -237,8 +235,12 @@ $ write cvh "#define USE_INCLUDED_STRFTIME"
 $ write cvh "#endif /* HAVE_STRFTIME */"
 $ write cvh ""
 $ write cvh "#include <bitypes.h>"
+$ write cvh "#ifndef INT32_MAX"
 $ write cvh "#define INT32_MAX __INT32_MAX"
+$ write cvh "#endif"
+$ write cvh "#ifndef INT32_MIN"
 $ write cvh "#define INT32_MIN __INT32_MIN"
+$ write cvh "#endif"
 $ write cvh ""
 $ write cvh "/*"
 $ write cvh " * DEFPATH"
diff --git a/vms/vmstest.com b/vms/vmstest.com
index a458921b..9e932e5c 100644
--- a/vms/vmstest.com
+++ b/vms/vmstest.com
@@ -1747,8 +1747,10 @@ $!
 $symtab10:     echo "''test'"
 $   test_class = "gawk_ext"
 $   set noOn
-$   gawk "-D" -f 'test'.awk < 'test'.in > _'test'.tmp 2>&1
-$   if .not. $status then call exit_code '$status' _'test'.tmp
+$   define/user sys$error _'test'.tmp
+$   gawk -f 'test'.awk > _'test'.tmp2
+$   if .not. $status then call exit_code '$status' _'test'.tmp2
+$   append _'test'.tmp2 _'test'.tmp
 $   cmp 'test'.ok sys$disk:[]_'test'.tmp
 $   if $status
 $   then

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

Summary of changes:
 ChangeLog                          |  4 ++++
 README_d/ChangeLog                 |  4 ++++
 README_d/README.VMS                | 29 ++++++++++++++++-------------
 custom.h                           |  8 ++++++++
 vms/ChangeLog                      |  7 +++++++
 vms/config_h.com                   |  6 ++++++
 vms/descrip.mms                    |  2 +-
 vms/generate_config_vms_h_gawk.com |  6 ++++--
 vms/vmstest.com                    |  6 ++++--
 9 files changed, 54 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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