From c84a1ebb625289e6b129a167667a78df3407d7d6 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Thu, 1 Oct 2020 14:51:14 -0400 Subject: [PATCH] commit bash-20200924 snapshot --- CHANGES | 30 ++++++++++++++++++++++++++++++ CHANGES-5.1 | 30 ++++++++++++++++++++++++++++++ CWRU/CWRU.chlog | 5 +++++ NEWS | 2 ++ NEWS-5.1 | 2 ++ configure | 22 +++++++++++----------- configure.ac | 4 ++-- 7 files changed, 82 insertions(+), 13 deletions(-) diff --git a/CHANGES b/CHANGES index 2c1b632d..2df8415e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,33 @@ +This document details the changes between this version, bash-5.1-rc1, and +the previous version, bash-5.1-beta. + +1. Changes to Bash + +a. Fixed an inconsistency in the way HISTCMD is calculated when it's expanded + during a multi-line command. + +b. Modified the change to here-document expansion containing backslash-quoted + double quotes. + +c. Fixed a case where the shells's exit status could be greater than 255. + +d. Modified changed to process substitution so the executed command has its + stdin redirected from /dev/null if it was previously interactive and + reading commands from the terminal. + +2. New Features in Bash + +a. There is a new contributed loadable builtin: asort. + +3. Changes to Readline + +a. Fixed a bug that could cause an application with an application-specific + redisplay function to crash if the line data structures had not been + initialized. + +4. New Features in Readline + +------------------------------------------------------------------------------ This document details the changes between this version, bash-5.1-beta, and the previous version, bash-5.1-alpha. diff --git a/CHANGES-5.1 b/CHANGES-5.1 index aa3a1c3a..32fda46a 100644 --- a/CHANGES-5.1 +++ b/CHANGES-5.1 @@ -1,3 +1,33 @@ +This document details the changes between this version, bash-5.1-rc1, and +the previous version, bash-5.1-beta. + +1. Changes to Bash + +a. Fixed an inconsistency in the way HISTCMD is calculated when it's expanded + during a multi-line command. + +b. Modified the change to here-document expansion containing backslash-quoted + double quotes. + +c. Fixed a case where the shells's exit status could be greater than 255. + +d. Modified changed to process substitution so the executed command has its + stdin redirected from /dev/null if it was previously interactive and + reading commands from the terminal. + +2. New Features in Bash + +a. There is a new contributed loadable builtin: asort. + +3. Changes to Readline + +a. Fixed a bug that could cause an application with an application-specific + redisplay function to crash if the line data structures had not been + initialized. + +4. New Features in Readline + +------------------------------------------------------------------------------ This document details the changes between this version, bash-5.1-beta, and the previous version, bash-5.1-alpha. diff --git a/CWRU/CWRU.chlog b/CWRU/CWRU.chlog index c99b8e7d..967d0cc4 100644 --- a/CWRU/CWRU.chlog +++ b/CWRU/CWRU.chlog @@ -9048,3 +9048,8 @@ doc/{bash.1,bashref.texi} examples/loadables/asort.c - asort: loadable builtin to sort an array. Contributed by Geir Hauge + + 10/1 + ---- + +[bash-5.1-beta frozen] diff --git a/NEWS b/NEWS index 1d421256..bc0eb40b 100644 --- a/NEWS +++ b/NEWS @@ -145,6 +145,8 @@ tt. The `fg' and `bg' builtins now return an error in a command substitution uu. The shell now attempts to unlink all FIFOs on exit, whether a consuming process has finished with them or not. +vv. There is a new contributed loadable builtin: asort. + 2. New Features in Readline a. If a second consecutive completion attempt produces matches where the first diff --git a/NEWS-5.1 b/NEWS-5.1 index 922fe1a0..3c27cddf 100644 --- a/NEWS-5.1 +++ b/NEWS-5.1 @@ -145,6 +145,8 @@ tt. The `fg' and `bg' builtins now return an error in a command substitution uu. The shell now attempts to unlink all FIFOs on exit, whether a consuming process has finished with them or not. +vv. There is a new contributed loadable builtin: asort. + 2. New Features in Readline a. If a second consecutive completion attempt produces matches where the first diff --git a/configure b/configure index b0cb0c37..b720796d 100755 --- a/configure +++ b/configure @@ -1,7 +1,7 @@ #! /bin/sh -# From configure.ac for Bash 5.1, version 5.021. +# From configure.ac for Bash 5.1, version 5.022. # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for bash 5.1-beta. +# Generated by GNU Autoconf 2.69 for bash 5.1-rc1. # # Report bugs to . # @@ -581,8 +581,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='bash' PACKAGE_TARNAME='bash' -PACKAGE_VERSION='5.1-beta' -PACKAGE_STRING='bash 5.1-beta' +PACKAGE_VERSION='5.1-rc1' +PACKAGE_STRING='bash 5.1-rc1' PACKAGE_BUGREPORT='bug-bash@gnu.org' PACKAGE_URL='' @@ -1427,7 +1427,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 bash 5.1-beta to adapt to many kinds of systems. +\`configure' configures bash 5.1-rc1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1492,7 +1492,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of bash 5.1-beta:";; + short | recursive ) echo "Configuration of bash 5.1-rc1:";; esac cat <<\_ACEOF @@ -1693,7 +1693,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -bash configure 5.1-beta +bash configure 5.1-rc1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2402,7 +2402,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 bash $as_me 5.1-beta, which was +It was created by bash $as_me 5.1-rc1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2800,7 +2800,7 @@ ac_config_headers="$ac_config_headers config.h" BASHVERS=5.1 -RELSTATUS=beta +RELSTATUS=rc1 case "$RELSTATUS" in alp*|bet*|dev*|rc*|releng*|maint*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;; @@ -21057,7 +21057,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 bash $as_me 5.1-beta, which was +This file was extended by bash $as_me 5.1-rc1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21123,7 +21123,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="\\ -bash config.status 5.1-beta +bash config.status 5.1-rc1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 4e96e491..fd3c731c 100644 --- a/configure.ac +++ b/configure.ac @@ -21,10 +21,10 @@ dnl Process this file with autoconf to produce a configure script. # You should have received a copy of the GNU General Public License # along with this program. If not, see . -AC_REVISION([for Bash 5.1, version 5.021])dnl +AC_REVISION([for Bash 5.1, version 5.022])dnl define(bashvers, 5.1) -define(relstatus, beta) +define(relstatus, rc1) AC_INIT([bash], bashvers-relstatus, [bug-bash@gnu.org])