gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-296


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-2963-g2836a37
Date: Mon, 30 Apr 2018 23:27:59 -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-4.2-stable has been updated
       via  2836a375814d69a2a76336a142a73e86b446cf22 (commit)
      from  2f4a02886e94b4300585c7115d6c32a12df55f45 (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=2836a375814d69a2a76336a142a73e86b446cf22

commit 2836a375814d69a2a76336a142a73e86b446cf22
Author: Arnold D. Robbins <address@hidden>
Date:   Mon Apr 30 20:27:29 2018 -0700

    Improve error message if API version mismatch on dl load.

diff --git a/ChangeLog b/ChangeLog
index fa6ea3b..ad5591b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-04-30         Arnold D. Robbins     <address@hidden>
+
+       * gawkapi.h [dl_load_func]: Minor improvement in version mismatch
+       message as suggested by Manuel Collado
+       <address@hidden>.
+
 2018-04-18         Arnold D. Robbins     <address@hidden>
 
        * config.sub: Updated from GNULIB.
diff --git a/gawkapi.h b/gawkapi.h
index 8045103..bee9e9d 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -1111,7 +1111,7 @@ int dl_load(const gawk_api_t *const api_p, awk_ext_id_t 
id)  \
        if (api->major_version != GAWK_API_MAJOR_VERSION \
            || api->minor_version < GAWK_API_MINOR_VERSION) { \
                fprintf(stderr, #extension ": version mismatch with gawk!\n"); \
-               fprintf(stderr, "\tmy version (%d, %d), gawk version (%d, 
%d)\n", \
+               fprintf(stderr, "\tmy version (API %d.%d), gawk version (API 
%d.%d)\n", \
                        GAWK_API_MAJOR_VERSION, GAWK_API_MINOR_VERSION, \
                        api->major_version, api->minor_version); \
                exit(1); \

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

Summary of changes:
 ChangeLog | 6 ++++++
 gawkapi.h | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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