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-5505-g11280faa


From: John Malmberg
Subject: [SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5505-g11280faa
Date: Sun, 11 Aug 2024 13:31:26 -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  11280faaf5a99173ce6318fe7a455e3a31e6a95f (commit)
      from  e28c1ecc11b36eec98a2604a30db94dc12b9f4e1 (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=11280faaf5a99173ce6318fe7a455e3a31e6a95f

commit 11280faaf5a99173ce6318fe7a455e3a31e6a95f
Author: John Malmberg <wb8tyw@qsl.net>
Date:   Sun Aug 11 12:30:17 2024 -0500

    Add printf.c to OpenVMS build.

diff --git a/ChangeLog b/ChangeLog
index 8ccc2014..82d977fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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
+
 2024-08-10         Arnold D. Robbins     <arnold@skeeve.com>
 
        Thanks again to Michal Jaegermann for tips on removing
diff --git a/printf.c b/printf.c
index ebd48bd4..f24db4c6 100644
--- a/printf.c
+++ b/printf.c
@@ -1328,6 +1328,7 @@ fmt0:
        return buf;
 #else
        cant_happen("%s", "trying to format GMP integer");
+       return NULL;
 #endif
 }
 
@@ -1479,7 +1480,7 @@ format_float(NODE *arg, struct flags *flags)
                        buflen *= 2;
                }
 #else
-               cant_happen("trying to format GMP/MPFR number");
+               cant_happen("%s", "trying to format GMP/MPFR number");
 #endif
        } else {
                if (flags->have_prec || tolower(flags->format) != 'a') {
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 92e5584e..24ed9a6b 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,6 @@
+2024-08-11         John E. Malmberg      <wb8tyw@qsl.net>
+       * vmsbuild.com, descrip.mms Add printf.c to build.
+
 2023-11-02         Arnold D. Robbins     <arnold@skeeve.com>
 
        * 5.3.0: Release tar ball made.
diff --git a/vms/descrip.mms b/vms/descrip.mms
index 8f88cd42..90be7dfa 100644
--- a/vms/descrip.mms
+++ b/vms/descrip.mms
@@ -119,7 +119,7 @@ AWKOBJ1 = array.obj,awkgram.obj,builtin.obj,cint_array.obj,\
 
 AWKOBJ2 = int_array.obj,io.obj,localeinfo.obj,main.obj,mpfr.obj,msg.obj,\
        node.obj,random.obj,re.obj,regex.obj,replace.obj,\
-       str_array.obj,symbol.obj,version.obj
+       str_array.obj,symbol.obj,version.obj,printf.obj
 
 AWKOBJS = $(AWKOBJ1),$(AWKOBJ2)
 
@@ -201,6 +201,7 @@ main.obj    : main.c
 msg.obj                : msg.c
 mpfr.obj       : mpfr.c
 node.obj       : node.c
+printf.obj      : printf.c
 profile.obj    : profile.c
 random.obj     : $(SUPPORT)random.c $(SUPPORT)random.h
 re.obj         : re.c
diff --git a/vms/vmsbuild.com b/vms/vmsbuild.com
index 30c15e90..12829f2a 100644
--- a/vms/vmsbuild.com
+++ b/vms/vmsbuild.com
@@ -112,6 +112,7 @@ $ cc gawkapi.c
 $ cc mpfr.c
 $ cc str_array.c
 $ cc symbol.c
+$ cc printf.c
 $ cc [.vms]vms_misc.c
 $ cc [.vms]vms_popen.c
 $ cc [.vms]vms_fwrite.c
@@ -131,7 +132,7 @@ gawkmisc.obj,getopt.obj,getopt1.obj,io.obj,localeinfo.obj
 main.obj,msg.obj,node.obj
 random.obj,re.obj,regex.obj,replace.obj,version.obj,eval.obj,profile.obj
 command.obj,debug.obj,int_array.obj,cint_array.obj,gawkapi.obj,mpfr.obj
-str_array.obj,symbol.obj
+str_array.obj,symbol.obj,printf.obj
 []vms_misc.obj,vms_popen.obj,vms_fwrite.obj,vms_args.obj
 []vms_gawk.obj,vms_cli.obj,gawk_cmd.obj,vms_crtl_init.obj
 psect_attr=environ,noshr       !extern [noshare] char **

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

Summary of changes:
 ChangeLog        | 5 +++++
 printf.c         | 3 ++-
 vms/ChangeLog    | 3 +++
 vms/descrip.mms  | 3 ++-
 vms/vmsbuild.com | 3 ++-
 5 files changed, 14 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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