gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/cpp-compile, updated. gawk-4.1.0-4468-gabb0e4


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/cpp-compile, updated. gawk-4.1.0-4468-gabb0e44
Date: Fri, 4 Jun 2021 03:43:11 -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, feature/cpp-compile has been updated
       via  abb0e4409b93ee1f1fbafb2fac643cbcb596c54c (commit)
       via  9ad1fab7682ef7f8a099e8889ff05e36acc37ad3 (commit)
       via  11e5841dff821b7cee4308ea6596d4bef8d53466 (commit)
       via  ea7bbec49eff411dac42c34c1d743a9742715c8c (commit)
      from  0724b3b378b016e88040da4af75fefabaa433be1 (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=abb0e4409b93ee1f1fbafb2fac643cbcb596c54c

commit abb0e4409b93ee1f1fbafb2fac643cbcb596c54c
Merge: 0724b3b 9ad1fab
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Fri Jun 4 10:43:05 2021 +0300

    Merge branch 'master' into feature/cpp-compile

diff --cc builtin.c
index 3e2de47,fe87cbe..c9b7a00
--- a/builtin.c
+++ b/builtin.c
@@@ -1571,17 -1577,17 +1571,17 @@@ mpf1
                        default:
                                if (have_prec || tolower(cs1) != 'a') {
                                        sprintf(cp, "*.*%c", cs1);
 -                                      while ((nc = snprintf(obufout, ofre, 
cpbuf,
 +                                      while ((size_t)(nc = snprintf(obufout, 
ofre, cpbuf,
                                                     (int) fw, (int) prec,
-                                                    (double) tmpval)) >= ofre)
+                                                    (double) tmpval)) >= (int) 
ofre)
                                                chksize(nc)
                                } else {
                                        // For %a and %A, use the default 
precision if it
                                        // wasn't supplied by the user.
                                        sprintf(cp, "*%c", cs1);
 -                                      while ((nc = snprintf(obufout, ofre, 
cpbuf,
 +                                      while ((size_t)(nc = snprintf(obufout, 
ofre, cpbuf,
                                                     (int) fw,
-                                                    (double) tmpval)) >= ofre)
+                                                    (double) tmpval)) >= (int) 
ofre)
                                                chksize(nc)
                                }
                        }

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

Summary of changes:
 ChangeLog |  8 ++++++++
 builtin.c | 16 ++++++++--------
 2 files changed, 16 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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