diff options
-rw-r--r-- | extension/ChangeLog | 4 | ||||
-rwxr-xr-x | extension/configure | 20 | ||||
-rw-r--r-- | extension/configure.ac | 4 | ||||
-rw-r--r-- | support/ChangeLog | 4 | ||||
-rw-r--r-- | support/idx.h | 20 | ||||
-rw-r--r-- | support/intprops.h | 1 |
6 files changed, 40 insertions, 13 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index b30f9ec1..82d2ac1b 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,7 @@ +2021-09-22 Arnold D. Robbins <arnold@skeeve.com> + + * configure.ac: Update version to 5.1.1 in preparation for release. + 2021-09-10 Arnold D. Robbins <arnold@skeeve.com> * configure.ac: Updated for Autoconf 2.71. Removes various warnings. diff --git a/extension/configure b/extension/configure index a24b111b..d8cf11d4 100755 --- a/extension/configure +++ b/extension/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for GNU Awk Bundled Extensions 5.1.0. +# Generated by GNU Autoconf 2.71 for GNU Awk Bundled Extensions 5.1.1. # # Report bugs to <bug-gawk@gnu.org>. # @@ -621,8 +621,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='GNU Awk Bundled Extensions' PACKAGE_TARNAME='gawk-extensions' -PACKAGE_VERSION='5.1.0' -PACKAGE_STRING='GNU Awk Bundled Extensions 5.1.0' +PACKAGE_VERSION='5.1.1' +PACKAGE_STRING='GNU Awk Bundled Extensions 5.1.1' PACKAGE_BUGREPORT='bug-gawk@gnu.org' PACKAGE_URL='https://www.gnu.org/software/gawk-extensions/' @@ -1379,7 +1379,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 Bundled Extensions 5.1.0 to adapt to many kinds of systems. +\`configure' configures GNU Awk Bundled Extensions 5.1.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1450,7 +1450,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU Awk Bundled Extensions 5.1.0:";; + short | recursive ) echo "Configuration of GNU Awk Bundled Extensions 5.1.1:";; esac cat <<\_ACEOF @@ -1573,7 +1573,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GNU Awk Bundled Extensions configure 5.1.0 +GNU Awk Bundled Extensions configure 5.1.1 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1984,7 +1984,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 Bundled Extensions $as_me 5.1.0, which was +It was created by GNU Awk Bundled Extensions $as_me 5.1.1, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3263,7 +3263,7 @@ fi # Define the identity of the package. PACKAGE='gawk-extensions' - VERSION='5.1.0' + VERSION='5.1.1' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -17827,7 +17827,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 Bundled Extensions $as_me 5.1.0, which was +This file was extended by GNU Awk Bundled Extensions $as_me 5.1.1, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17897,7 +17897,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -GNU Awk Bundled Extensions config.status 5.1.0 +GNU Awk Bundled Extensions config.status 5.1.1 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff --git a/extension/configure.ac b/extension/configure.ac index 32c02a95..3ca440ee 100644 --- a/extension/configure.ac +++ b/extension/configure.ac @@ -1,7 +1,7 @@ dnl dnl configure.ac --- autoconf input file for gawk dnl -dnl Copyright (C) 2012-2020 the Free Software Foundation, Inc. +dnl Copyright (C) 2012-2021 the Free Software Foundation, Inc. dnl dnl This file is part of GAWK, the GNU implementation of the dnl AWK Programming Language. @@ -23,7 +23,7 @@ dnl dnl Process this file with autoconf to produce a configure script. -AC_INIT([GNU Awk Bundled Extensions],[5.1.0],[bug-gawk@gnu.org],[gawk-extensions]) +AC_INIT([GNU Awk Bundled Extensions],[5.1.1],[bug-gawk@gnu.org],[gawk-extensions]) AC_PREREQ([2.71]) diff --git a/support/ChangeLog b/support/ChangeLog index a40abc99..1930b98c 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,7 @@ +2021-09-22 Arnold D. Robbins <arnold@skeeve.com> + + * idx.h, intprops.h: Sync with GNULIB. + 2021-09-03 Arnold D. Robbins <arnold@skeeve.com> * dfa.h: Sync with GNULIB. diff --git a/support/idx.h b/support/idx.h index 483587ea..54ad5d81 100644 --- a/support/idx.h +++ b/support/idx.h @@ -56,6 +56,26 @@ * Because 'size_t' is an unsigned type, and a signed type is better. See above. + Why not use 'ssize_t'? + + * 'ptrdiff_t' is more portable; it is standardized by ISO C + whereas 'ssize_t' is standardized only by POSIX. + + * 'ssize_t' is not required to be as wide as 'size_t', and some + now-obsolete POSIX platforms had 'size_t' wider than 'ssize_t'. + + * Conversely, some now-obsolete platforms had 'ptrdiff_t' wider + than 'size_t', which can be a win and conforms to POSIX. + + Won't this cause a problem with objects larger than PTRDIFF_MAX? + + * Typical modern or large platforms do not allocate such objects, + so this is not much of a problem in practice; for example, you + can safely write 'idx_t len = strlen (s);'. To port to older + small platforms where allocations larger than PTRDIFF_MAX could + in theory be a problem, you can use Gnulib's ialloc module, or + functions like ximalloc in Gnulib's xalloc module. + Why not use 'ptrdiff_t' directly? * Maintainability: When reading and modifying code, it helps to know that diff --git a/support/intprops.h b/support/intprops.h index 9d10028a..3fe64e82 100644 --- a/support/intprops.h +++ b/support/intprops.h @@ -15,7 +15,6 @@ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ -/* Written by Paul Eggert. */ #ifndef _GL_INTPROPS_H #define _GL_INTPROPS_H |