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-3889-g87bc726


From: John Malmberg
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-3889-g87bc726
Date: Tue, 4 Feb 2020 08:57:44 -0500 (EST)

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  87bc72662b25f10578041eaad3455639cbd812b1 (commit)
      from  2746518fd96f9a784d5178b6c7337ad9b7360e30 (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=87bc72662b25f10578041eaad3455639cbd812b1

commit 87bc72662b25f10578041eaad3455639cbd812b1
Author: John Malmberg <address@hidden>
Date:   Tue Feb 4 07:55:19 2020 -0600

    Remove OpenVMS code from dfa.c

diff --git a/ChangeLog b/ChangeLog
index 1338479..17d4595 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-02-04         John E. Malmberg      <address@hidden>
+
+       * custom.h: Fix OpenVMS SIZE_MAX value.
+
 2020-02-01         Arnold D. Robbins     <address@hidden>
 
        * awk.h, dfa.c: Move include of mbsupport.h to ...
diff --git a/custom.h b/custom.h
index d2e11ea..66e755d 100644
--- a/custom.h
+++ b/custom.h
@@ -48,7 +48,7 @@
 #define _GNU_SOURCE 1
 #endif /* _GNU_SOURCE */
 #ifndef SIZE_MAX
-#define SIZE_MAX __INT32_MAX
+#define SIZE_MAX (__UINT32_MAX)
 #endif /* SIZE_MAX */
 #define ULONG_WIDTH 32
 #ifndef __VAX
diff --git a/support/ChangeLog b/support/ChangeLog
index 202f9f0..96da5cb 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-01         John E. Malmberg      <address@hidden>
+
+       * dfa.c: Remove OpenVMS specific code.  OpenVMS build
+       will generate a stdint.h if needed.
+
 2020-02-01         Arnold D. Robbins     <address@hidden>
 
        * dfa.c: Update from GNULIB. Should help Vax/VMS.
diff --git a/support/dfa.c b/support/dfa.c
index d112443..9939d22 100644
--- a/support/dfa.c
+++ b/support/dfa.c
@@ -28,12 +28,7 @@
 
 #include <assert.h>
 #include <ctype.h>
-#ifndef VMS
 #include <stdint.h>
-#else
-#define SIZE_MAX __INT32_MAX
-#define PTRDIFF_MAX __INT32_MAX
-#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 3f632fe..bfad790 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,9 @@
+2020-02-04         John E. Malmberg      <address@hidden>
+
+       * generate_config_vms_h_gawk.com:
+       Create stdint.h if not supplied by OpenVMS and
+       add in the definitions required by support/dfa.h
+
 2020-02-03         John E. Malmberg      <address@hidden>
 
        * vmstest.com: Fix some issues where a test failure would stop the
diff --git a/vms/generate_config_vms_h_gawk.com 
b/vms/generate_config_vms_h_gawk.com
old mode 100644
new mode 100755
index b0d1ed1..681a73b
--- a/vms/generate_config_vms_h_gawk.com
+++ b/vms/generate_config_vms_h_gawk.com
@@ -67,6 +67,14 @@ $ then
 $   create sys$disk:[]stdint.h
 $   open/append stdint_h sys$disk:[]stdint.h
 $   write stdint_h "/* Fake stdint.h for gnulib */"
+$   write stdint_h "#ifndef FAKE_STDINT"
+$   write stdint_h "#define FAKE_STDINT"
+$   write stdint_h "#include <fake_vms_path/limits.h>"
+$   write stdint_h "#define PTRDIFF_MAX (__INT32_MAX)"
+$   write stdint_h "#ifndef SIZE_MAX"
+$   write stdint_h "#define SIZE_MAX (__UINT32_MAX)"
+$   write stdint_h "#endif /* __VAX */"
+$   write stdint_h "#endif  /* FAKE_STDINT */"
 $   close stdint_h
 $ endif
 $!

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

Summary of changes:
 ChangeLog                          | 4 ++++
 custom.h                           | 2 +-
 support/ChangeLog                  | 5 +++++
 support/dfa.c                      | 5 -----
 vms/ChangeLog                      | 6 ++++++
 vms/generate_config_vms_h_gawk.com | 8 ++++++++
 6 files changed, 24 insertions(+), 6 deletions(-)
 mode change 100644 => 100755 vms/generate_config_vms_h_gawk.com


hooks/post-receive
-- 
gawk



reply via email to

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