diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-04-12 23:41:26 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-04-12 23:41:26 +0300 |
commit | 0813c48d190d983cb0b3e55f5d8345c91c43e09b (patch) | |
tree | ec88f147394274bf127165454b7cda2c7770b769 | |
parent | 9fff07da8c25183f53934c0155d1fa49bc97198e (diff) | |
download | egawk-0813c48d190d983cb0b3e55f5d8345c91c43e09b.tar.gz egawk-0813c48d190d983cb0b3e55f5d8345c91c43e09b.tar.bz2 egawk-0813c48d190d983cb0b3e55f5d8345c91c43e09b.zip |
Compile fix for Mac OS X.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | builtin.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 <m-collado@users.sourceforge.net> Fix the FPAT bug reported by Ed Morton in the gawk-bug mailing list. @@ -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(); |