gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5508-g7a521fe4


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5508-g7a521fe4
Date: Sun, 11 Aug 2024 23:39:24 -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.3-stable has been updated
       via  7a521fe4b37f8554ca53ef3236f0352e391aaa1d (commit)
       via  6daf10aa4de9a2bf9c8af90cdf908c3a11744525 (commit)
      from  ab39d4e1002edc4a0f4633f7ed6ae0341f671af9 (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=7a521fe4b37f8554ca53ef3236f0352e391aaa1d

commit 7a521fe4b37f8554ca53ef3236f0352e391aaa1d
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Mon Aug 12 06:33:28 2024 +0300

    Fix some C23 compilatio issues.

diff --git a/ChangeLog b/ChangeLog
index f7d55a13..0d084f35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,20 @@
+2024-08-12         Arnold D. Robbins     <arnold@skeeve.com>
+
+       Fix some C23 compilation issues. THanks to
+       Jeffrey Cliff <jeffrey.cliff@gmail.com> for the report.
+
+       * awkgram.y (get_src_buf): Remove obsolete comment.
+       * io.c (iop_alloc, get_read_timeout): Fix casts for read.
+
 2024-08-11         John E. Malmberg      <wb8tyw@qsl.net>
-       * printf.c (format_mpg_integer_digits) improved fix
-       from Arnold for if !HAVE_MPFR
+
+       * printf.c (format_mpg_integer_digits): Improved fix
+       from Arnold for if !HAVE_MPFR.
 
 2024-08-11         John E. Malmberg      <wb8tyw@qsl.net>
 
-       * printf.c (format_float) fix cant_format macro call
-         (format_mpg_integer_digits) to return NULL if !HAVE_MPFR
+       * printf.c (format_float): Fix cant_happen macro call.
+       (format_mpg_integer_digits): Return NULL if !HAVE_MPFR.
 
 2024-08-10         Arnold D. Robbins     <arnold@skeeve.com>
 
diff --git a/awkgram.c b/awkgram.c
index 80eae86c..d340dcaf 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -5607,11 +5607,6 @@ get_src_buf()
        int savelen;
        struct stat sbuf;
 
-       /*
-        * No argument prototype on readfunc on purpose,
-        * avoids problems with some ancient systems where
-        * the types of arguments to read() aren't up to date.
-        */
        static ssize_t (*readfunc)(int, void *, size_t) = NULL;
 
        if (readfunc == NULL) {
diff --git a/awkgram.y b/awkgram.y
index 24acc460..fc7a9ba3 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -3105,11 +3105,6 @@ get_src_buf()
        int savelen;
        struct stat sbuf;
 
-       /*
-        * No argument prototype on readfunc on purpose,
-        * avoids problems with some ancient systems where
-        * the types of arguments to read() aren't up to date.
-        */
        static ssize_t (*readfunc)(int, void *, size_t) = NULL;
 
        if (readfunc == NULL) {
diff --git a/io.c b/io.c
index acb707b0..f0c7901c 100644
--- a/io.c
+++ b/io.c
@@ -3388,7 +3388,7 @@ iop_alloc(int fd, const char *name, int errno_val)
 
        iop->public.fd = fd;
        iop->public.name = name;
-       iop->public.read_func = ( ssize_t(*)() ) read;
+       iop->public.read_func = ( ssize_t(*)(int, void *, size_t) ) read;
        iop->valid = false;
        iop->errcode = errno_val;
 
@@ -4448,7 +4448,7 @@ get_read_timeout(IOBUF *iop)
        }
 
        /* overwrite read routine only if an extension has not done so */
-       if ((iop->public.read_func == ( ssize_t(*)() ) read) && tmout > 0)
+       if ((iop->public.read_func == ( ssize_t(*)(int, void *, size_t) ) read) 
&& tmout > 0)
                iop->public.read_func = read_with_timeout;
 
        return tmout;

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=6daf10aa4de9a2bf9c8af90cdf908c3a11744525

commit 6daf10aa4de9a2bf9c8af90cdf908c3a11744525
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Mon Aug 12 06:26:35 2024 +0300

    Small edits in vms/ChangeLog.

diff --git a/vms/ChangeLog b/vms/ChangeLog
index 24ed9a6b..6de1e059 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,5 +1,6 @@
 2024-08-11         John E. Malmberg      <wb8tyw@qsl.net>
-       * vmsbuild.com, descrip.mms Add printf.c to build.
+
+       * vmsbuild.com, descrip.mms: Add printf.c to build.
 
 2023-11-02         Arnold D. Robbins     <arnold@skeeve.com>
 

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

Summary of changes:
 ChangeLog     | 17 +++++++++++++----
 awkgram.c     |  5 -----
 awkgram.y     |  5 -----
 io.c          |  4 ++--
 vms/ChangeLog |  3 ++-
 5 files changed, 17 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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