Opened 3 months ago

Closed 3 months ago

#5738 closed enhancement (fixed)

bash-5.3-rc2 and readline-8.3-rc2

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 12.4
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New release candidate.

This release fixes several outstanding bugs in bash-5.2 and introduces
a number of new features. There are significant new features of note:

* There is a new form of command substitution that executes the command in
  the current shell execution context. Two forms are implemented: one that
  reads the command substitution's output and another that expects to find
  the result in the REPLY shell variable when the command substitution
  completes.

* The GLOBSORT shell variable determines how the shell will sort the results
  of pathname completion.

* The compgen builtin has an option to put the generated completions into a
  designated shell variable instead of writing them to the standard output.

* The read builtin has a new `-E' option that uses readline with the default
  bash completion, including programmable completion.

* The source builtin has a new `-p PATH' option, which makes it use the PATH
  argument instead of $PATH to search for the file.

The source code has been updated for C23 conformance. This means that bash
will no longer compile with K&R-style C compilers.

Readline has a new option that allows case-insensitive searching, a new
command that executes a named readline command, and a new command that
exports possible word completions in a specified format for consumption
by another process.

There are several notable bug fixes. The shell no longer marks jobs as
notified in several cases where it did before without actually notifying
the user. There are changes for POSIX conformance in areas where POSIX is
evolving. There is a set of fixes that improve behavior when command status
is being inverted while `set -e' is enabled. The intl library has been
updated to the one from gettext-0.21.1. Bash does a much better job of
handling integer overflow in places like the printf builtin. A complete
list of changes is appended.

There are a few incompatible changes between bash-5.2 and bash-5.3. The
test builtin uses slightly different parsing behavior when parenthesized
subexpressions are present and test has been supplied more than four
arguments, for compatibility with coreutils. When the shell is running
interactively, it no longer notifies about completed jobs while sourcing
a script, deferring notification until the script completes.


Change History (3)

comment:1 by Xi Ruoyao, 3 months ago

It seems the cross-compile patch for bash is still needed.

in reply to:  1 comment:2 by Bruce Dubbs, 3 months ago

Replying to Xi Ruoyao:

It seems the cross-compile patch for bash is still needed.

When I made the bug report for the cross-compile issue, the reply suggested that they would fix the problem differently. I just ran a test jhalfs build without the patch and the build completed. I think we can discard that patch.

comment:3 by Bruce Dubbs, 3 months ago

Resolution: fixed
Status: newclosed

Fixed at commit e481799cdf.

Note: See TracTickets for help on using tickets.