gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-5.0-stable, updated. gawk-4.1.0-372


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-5.0-stable, updated. gawk-4.1.0-3720-g9dfcaf5
Date: Wed, 24 Apr 2019 13:27:25 -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.0-stable has been updated
       via  9dfcaf5c979776f1f2bd80f48c7e4ded57a37e07 (commit)
      from  d69cb2dbf5d1a4bc524a4da3302f2239fc422165 (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=9dfcaf5c979776f1f2bd80f48c7e4ded57a37e07

commit 9dfcaf5c979776f1f2bd80f48c7e4ded57a37e07
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Apr 24 20:27:03 2019 +0300

    Fix a warning in msg.c.

diff --git a/ChangeLog b/ChangeLog
index d76c3e9..79d7762 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-04-24         Arnold D. Robbins     <address@hidden>
+
+       * msg.c (msg): Use %ld for the line number value. Thanks to
+       Michal Jaegermann for the report.
+
 2019-04-23         Arnold D. Robbins     <address@hidden>
 
        * config.sub: Updated from GNULIB.
diff --git a/msg.c b/msg.c
index ca988ad..32f152a 100644
--- a/msg.c
+++ b/msg.c
@@ -74,7 +74,7 @@ err(bool isfatal, const char *s, const char *emsg, va_list 
argp)
                else
                        (void) fprintf(stderr, _("cmd. line:"));
 
-               (void) fprintf(stderr, "%d: ", sourceline + lineno_val);
+               (void) fprintf(stderr, "%ld: ", sourceline + lineno_val);
        }
 
 #ifdef HAVE_MPFR

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

Summary of changes:
 ChangeLog | 5 +++++
 msg.c     | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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