Skip to content

Commit

Permalink
Release 1.0.7
Browse files Browse the repository at this point in the history
Here is the seventh ksh 93u+m/1.0 bugfix release. It fixes a hang
in command substitutions when combined with 'exec' and certain
redirections.

Main changes between ksh 93u+m/1.0.6 and 93u+m/1.0.7:

- Fixed a hang in command substitutions (introduced in 93u+m/1.0.0)
  that was triggered when redirecting standard output within a
  command substitution, in combination with other factors. E.g.,
  the following no longer hangs:
	{ v=$(redirect 2>&1 1>&9); } 9>&1
- Fixed a crash on trying to append an indexed array value to an
  unset name reference, e.g.: nameref unsetref; unsetref+=(foo
  bar). This now produces a "removing nameref attribute" warning
  before performing the assignment.
- Fixed: assignments like name=(...) to arrays did not preserve the
  array and variable types; similarly, assigning an empty set () to
  a compound indexed array caused the -C attribute to be lost.
- Fixed incorrect rejection of the tab key while reading input
  using the 'read' built-in command.
- Fixed a bug in printf %T: when using dates and times in the past,
  time zones for the present were incorrectly used, ignoring
  historical changes.
  • Loading branch information
McDutchie committed Sep 15, 2023
1 parent c0fa69c commit 0492a06
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
25 changes: 20 additions & 5 deletions ANNOUNCE
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
Announcing: KornShell 93u+m/1.0.6
Announcing: KornShell 93u+m/1.0.7
https://github.com/ksh93/ksh

Sooner than expected after the fifth, here is the sixth ksh 93u+m/1.0 bugfix
release. 93u+m/1.0.5 brought a wide range of bugfixes and robustness
enhancements, but also introduced a serious regression in pathname
expansion, so that previous release is WITHDRAWN and should not be used.
Here is the seventh ksh 93u+m/1.0 bugfix release. It fixes a hang in
command substitutions when combined with 'exec' and certain redirections.

Further below is an overview of the main changes. For greater detail, see
the NEWS file in the distribution. For complete detail, see the git(1)
Expand Down Expand Up @@ -70,6 +68,23 @@ Feel free to use Discussions to introduce yourself to the community.
You can also join the mailing list/Google group at:
https://groups.google.com/g/korn-shell

### MAIN CHANGES between ksh 93u+m/1.0.6 and 93u+m/1.0.7 ###

- Fixed a hang in command substitutions (introduced in 93u+m/1.0.0) that was
triggered when redirecting standard output within a command substitution,
in combination with other factors. E.g., the following no longer hangs:
{ v=$(redirect 2>&1 1>&9); } 9>&1
- Fixed a crash on trying to append an indexed array value to an unset name
reference, e.g.: nameref unsetref; unsetref+=(foo bar). This now produces
a "removing nameref attribute" warning before performing the assignment.
- Fixed: assignments like name=(...) to arrays did not preserve the array
and variable types; similarly, assigning an empty set () to a compound
indexed array caused the -C attribute to be lost.
- Fixed incorrect rejection of the tab key while reading input using the
'read' built-in command.
- Fixed a bug in printf %T: when using dates and times in the past, time
zones for the present were incorrectly used, ignoring historical changes.

### MAIN CHANGES between ksh 93u+m/1.0.5 and 93u+m/1.0.6 ###

- Fixed a serious regression in pathname expansion where quoted wildcard
Expand Down
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Uppercase BUG_* IDs are shell bug IDs as used by the Modernish shell library.

2023-09-15:

- Release 1.0.7.

- Fixed a hang in command substitutions (introduced in 93u+m/1.0.0) that was
triggered when redirecting standard output within a command substitution,
in combination with other factors. E.g., the following no longer hangs:
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/ksh93/include/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <releaseflags.h>

#define SH_RELEASE_FORK "93u+m" /* only change if you develop a new ksh93 fork */
#define SH_RELEASE_SVER "1.0.7-alpha" /* semantic version number: https://semver.org */
#define SH_RELEASE_SVER "1.0.7" /* semantic version number: https://semver.org */
#define SH_RELEASE_DATE "2023-09-15" /* must be in this format for $((.sh.version)) */
#define SH_RELEASE_CPYR "(c) 2020-2023 Contributors to ksh " SH_RELEASE_FORK

Expand Down

0 comments on commit 0492a06

Please sign in to comment.