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-286


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-2861-gf871e6e
Date: Sun, 24 Dec 2017 14:31:21 -0500 (EST)

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  f871e6ebc0f88cf1e48ffd4945bc805a3bab2be2 (commit)
       via  5134135d033b268ac260b4e05ddfebe07b93894f (commit)
       via  fcd243fb130b6b4424c26d279772f286a9cdde84 (commit)
       via  4d67b233411caaf127ae64545a4da89ce0c49cac (commit)
       via  8022211ff9337ff77d025eb402be3bae50961c09 (commit)
      from  8e9a064692fe3ec76df568c0a3d75ab702acf85b (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=f871e6ebc0f88cf1e48ffd4945bc805a3bab2be2

commit f871e6ebc0f88cf1e48ffd4945bc805a3bab2be2
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Dec 24 21:31:03 2017 +0200

    Bump version.

diff --git a/configure b/configure
index b91a919..bb1611f 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for GNU Awk 4.2.0a.
+# Generated by GNU Autoconf 2.69 for GNU Awk 4.2.0b.
 #
 # Report bugs to <address@hidden>.
 #
@@ -580,8 +580,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='GNU Awk'
 PACKAGE_TARNAME='gawk'
-PACKAGE_VERSION='4.2.0a'
-PACKAGE_STRING='GNU Awk 4.2.0a'
+PACKAGE_VERSION='4.2.0b'
+PACKAGE_STRING='GNU Awk 4.2.0b'
 PACKAGE_BUGREPORT='address@hidden'
 PACKAGE_URL='http://www.gnu.org/software/gawk/'
 
@@ -1332,7 +1332,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GNU Awk 4.2.0a to adapt to many kinds of systems.
+\`configure' configures GNU Awk 4.2.0b to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1402,7 +1402,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GNU Awk 4.2.0a:";;
+     short | recursive ) echo "Configuration of GNU Awk 4.2.0b:";;
    esac
   cat <<\_ACEOF
 
@@ -1529,7 +1529,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-GNU Awk configure 4.2.0a
+GNU Awk configure 4.2.0b
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2238,7 +2238,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by GNU Awk $as_me 4.2.0a, which was
+It was created by GNU Awk $as_me 4.2.0b, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3121,7 +3121,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='gawk'
- VERSION='4.2.0a'
+ VERSION='4.2.0b'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -11573,7 +11573,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by GNU Awk $as_me 4.2.0a, which was
+This file was extended by GNU Awk $as_me 4.2.0b, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -11641,7 +11641,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-GNU Awk config.status 4.2.0a
+GNU Awk config.status 4.2.0b
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff --git a/configure.ac b/configure.ac
index d089c81..8ef3826 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ dnl
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT([GNU Awk],[4.2.0a],address@hidden,[gawk])
+AC_INIT([GNU Awk],[4.2.0b],address@hidden,[gawk])
 
 # This is a hack. Different versions of install on different systems
 # are just too different. Chuck it and use install-sh.
diff --git a/pc/config.h b/pc/config.h
index 8653601..28908ef 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -462,7 +462,7 @@
 #define PACKAGE_NAME "GNU Awk"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU Awk 4.2.0a"
+#define PACKAGE_STRING "GNU Awk 4.2.0b"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gawk"
@@ -471,7 +471,7 @@
 #define PACKAGE_URL "http://www.gnu.org/software/gawk/";
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "4.2.0a"
+#define PACKAGE_VERSION "4.2.0b"
 
 /* Define to 1 if *printf supports %F format */
 #ifdef __DJGPP__
@@ -528,7 +528,7 @@
 
 
 /* Version number of package */
-#define VERSION "4.2.0a"
+#define VERSION "4.2.0b"
 
 /* Enable large inode numbers on Mac OS X 10.5.  */
 #ifndef _DARWIN_USE_64_BIT_INODE

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=5134135d033b268ac260b4e05ddfebe07b93894f

commit 5134135d033b268ac260b4e05ddfebe07b93894f
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Dec 24 21:29:58 2017 +0200

    Add include of stdlib.h to getopt.c.

diff --git a/support/ChangeLog b/support/ChangeLog
index 74dd786..9756b4a 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-24         Arnold D. Robbins     <address@hidden>
+
+       * getopt.c: Include <stdlib.h> to get declarations of
+       malloc and free.
+
 2017-12-20         Arnold D. Robbins     <address@hidden>
 
        * regex.h: Restore GLIBC's use of '__' in parameter names. They
diff --git a/support/getopt.c b/support/getopt.c
index 8bc5961..6429375 100644
--- a/support/getopt.c
+++ b/support/getopt.c
@@ -30,6 +30,7 @@
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>    /* For malloc and free */
 
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=fcd243fb130b6b4424c26d279772f286a9cdde84

commit fcd243fb130b6b4424c26d279772f286a9cdde84
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Dec 24 21:14:43 2017 +0200

    Make -L option's argument optional.

diff --git a/ChangeLog b/ChangeLog
index 1613384..759c375 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,12 @@
        (do_dcngettext): Ditto.
        (do_bindtextdomain): Initialize save and save1.
 
+       Unrelated:
+
+       * main.c (optlist): Make 'L' option's argument optional, to
+       match --lint. Thanks to Manuel Collado <address@hidden>
+       for the report.
+
 2017-12-22         Arnold D. Robbins     <address@hidden>
 
        * config.guess, config.sub, depcomp, install-sh: Updated
diff --git a/main.c b/main.c
index 2590b75..300df7e 100644
--- a/main.c
+++ b/main.c
@@ -1443,7 +1443,7 @@ parse_args(int argc, char **argv)
        /*
         * The + on the front tells GNU getopt not to rearrange argv.
         */
-       const char *optlist = 
"+F:f:v:W;bcCd::D::e:E:ghi:l:L:nNo::Op::MPrSstVYZ:";
+       const char *optlist = 
"+F:f:v:W;bcCd::D::e:E:ghi:l:L::nNo::Op::MPrSstVYZ:";
        int old_optind;
        int c;
        char *scan;

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=4d67b233411caaf127ae64545a4da89ce0c49cac

commit 4d67b233411caaf127ae64545a4da89ce0c49cac
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Dec 24 21:13:08 2017 +0200

    Fix some compiler warnings on Redhat 6.

diff --git a/ChangeLog b/ChangeLog
index 0fb550c..1613384 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2017-12-24         Arnold D. Robbins     <address@hidden>
+
+       Avoid some compiler warnings. Thanks to Michal Jaegermann
+       <address@hidden> for the report.
+
+       * builtin.c (do_strftime): Initialize save.
+       (do_dcgetttext): Initialize save and save2.
+       (do_dcngettext): Ditto.
+       (do_bindtextdomain): Initialize save and save1.
+
 2017-12-22         Arnold D. Robbins     <address@hidden>
 
        * config.guess, config.sub, depcomp, install-sh: Updated
diff --git a/builtin.c b/builtin.c
index 98f50dd..fc94827 100644
--- a/builtin.c
+++ b/builtin.c
@@ -1914,7 +1914,7 @@ do_strftime(int nargs)
        bool do_gmt;
        NODE *val = NULL;
        NODE *sub = NULL;
-       char save;
+       char save = '\0';       // initialize to avoid compiler warnings
        static const time_t time_t_min = TYPE_MINIMUM(time_t);
        static const time_t time_t_max = TYPE_MAXIMUM(time_t);
 
@@ -3790,7 +3790,7 @@ do_dcgettext(int nargs)
 #if ENABLE_NLS && defined(LC_MESSAGES) && HAVE_DCGETTEXT
        int lc_cat;
        char *domain;
-       char save1, save2;
+       char save1 = '\0', save2 = '\0';
 
        if (nargs == 3) {       /* third argument */
                tmp = POP_STRING();
@@ -3850,7 +3850,7 @@ do_dcngettext(int nargs)
 #if ENABLE_NLS && defined(LC_MESSAGES) && HAVE_DCGETTEXT
        int lc_cat;
        char *domain;
-       char save, save1, save2;
+       char save = '\0', save1 = '\0', save2 = '\0';
        bool saved_end = false;
 
        if (nargs == 5) {       /* fifth argument */
@@ -3906,8 +3906,7 @@ do_dcngettext(int nargs)
        if (number == 1) {
                the_result = string1;
                reslen = t1->stlen;
-       }
-       else {
+       } else {
                the_result = string2;
                reslen = t2->stlen;
        }
@@ -3939,7 +3938,7 @@ do_bindtextdomain(int nargs)
        /* set defaults */
        directory = NULL;
        domain = TEXTDOMAIN;
-       char save, save1;
+       char save = '\0', save1 = '\0';
 
        if (nargs == 2) {       /* second argument */
                t2 = POP_STRING();

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=8022211ff9337ff77d025eb402be3bae50961c09

commit 8022211ff9337ff77d025eb402be3bae50961c09
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Dec 24 21:12:33 2017 +0200

    Fix intdiv.c to compile for MPFR 2.4.1.

diff --git a/extension/ChangeLog b/extension/ChangeLog
index f788401..b6e943c 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-24          Michal Jaegermann    <address@hidden>
+
+       * intdiv.c: Fix compilation for MPFR 2.4.1.
+
 2017-12-20         Arnold D. Robbins     <address@hidden>
 
        * configure.ac: Add support for the --enable-versioned-dir option
diff --git a/extension/intdiv.c b/extension/intdiv.c
index 1104585..fb98f15 100644
--- a/extension/intdiv.c
+++ b/extension/intdiv.c
@@ -15,7 +15,12 @@
 #include "gawkapi.h"
 
 #ifdef HAVE_MPFR
+#include <gmp.h>
 #include <mpfr.h>
+#ifndef MPFR_RNDZ
+/* for compatibility with MPFR 2.X */
+#define MPFR_RNDZ GMP_RNDZ
+#endif
 #endif
 
 #include "gettext.h"

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

Summary of changes:
 ChangeLog           | 16 ++++++++++++++++
 builtin.c           | 11 +++++------
 configure           | 20 ++++++++++----------
 configure.ac        |  2 +-
 extension/ChangeLog |  4 ++++
 extension/intdiv.c  |  5 +++++
 main.c              |  2 +-
 pc/config.h         |  6 +++---
 support/ChangeLog   |  5 +++++
 support/getopt.c    |  1 +
 10 files changed, 51 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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