gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-5045-g741a6a8c


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-5045-g741a6a8c
Date: Fri, 21 Apr 2023 05:06:43 -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.2-stable has been updated
       via  741a6a8c7f6322e782693183a5cf8224be1f18cd (commit)
      from  3d3d4f7651c9425b28df6490b03e6cd1d3946650 (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=741a6a8c7f6322e782693183a5cf8224be1f18cd

commit 741a6a8c7f6322e782693183a5cf8224be1f18cd
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Fri Apr 21 12:06:24 2023 +0300

    Small fix in main.c.

diff --git a/ChangeLog b/ChangeLog
index ebd16b0d..1dac0a9b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
        * array.c (asort_actual): Initialize `value' to avoid
        compiler complaints. Thanks to Michal Jaegermann
        for the report.
+       * main.c (usage): Cast array subscript to int to silence
+       a compiler warning. Thanks to "Jannick" <thirdedition@gmx.net>
+       for the report.
 
 2023-04-14         Arnold D. Robbins     <arnold@skeeve.com>
 
diff --git a/main.c b/main.c
index ba6eda3d..c48feafa 100644
--- a/main.c
+++ b/main.c
@@ -689,7 +689,7 @@ or by using a web forum such as Stack Overflow.\n\n"), fp);
 
        // 5.2.60 is beta release on master, will become 5.3.0.
        // 5.2.2a is beta release on stable, will become 5.2.3.
-       if (patchlevel >= 60 || 
isalpha(PACKAGE_VERSION[strlen(PACKAGE_VERSION)-1]))
+       if (patchlevel >= 60 || isalpha((int) 
PACKAGE_VERSION[strlen(PACKAGE_VERSION)-1]))
                url = beta_url;
        else
                url = gnu_url;

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

Summary of changes:
 ChangeLog | 3 +++
 main.c    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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