gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2545-g0813c4


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2545-g0813c48
Date: Wed, 12 Apr 2017 16:41:41 -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, master has been updated
       via  0813c48d190d983cb0b3e55f5d8345c91c43e09b (commit)
      from  9fff07da8c25183f53934c0155d1fa49bc97198e (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=0813c48d190d983cb0b3e55f5d8345c91c43e09b

commit 0813c48d190d983cb0b3e55f5d8345c91c43e09b
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Apr 12 23:41:26 2017 +0300

    Compile fix for Mac OS X.

diff --git a/ChangeLog b/ChangeLog
index 6e053f7..8972233 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
        * mpfr.c (mpg_format_val): Set STRCUR flag when we're done.
        Fixes a memory leak. Thanks to valgrind for the report.
 
+       * builtin.c (do_dcgettext): Move declaration of reslen to
+       outside the ifdefs. Thanks to Hermann Peifer for the report.
+
 2017-04-12         Manuel Collado        <address@hidden>
 
        Fix the FPAT bug reported by Ed Morton in the gawk-bug mailing list.
diff --git a/builtin.c b/builtin.c
index a0db2e4..b358763 100644
--- a/builtin.c
+++ b/builtin.c
@@ -3789,11 +3789,11 @@ do_dcgettext(int nargs)
        NODE *tmp, *t1, *t2 = NULL;
        char *string;
        char *the_result;
+       size_t reslen;
 #if ENABLE_NLS && defined(LC_MESSAGES) && HAVE_DCGETTEXT
        int lc_cat;
        char *domain;
        char save1, save2;
-       size_t reslen;
 
        if (nargs == 3) {       /* third argument */
                tmp = POP_STRING();

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

Summary of changes:
 ChangeLog | 3 +++
 builtin.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]