diff --git a/ANNOUNCE b/ANNOUNCE index 90591aa49567..1f1ed137220a 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -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) @@ -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 diff --git a/NEWS b/NEWS index c1215e1b6393..f6d4e33d30bb 100644 --- a/NEWS +++ b/NEWS @@ -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: diff --git a/src/cmd/ksh93/include/version.h b/src/cmd/ksh93/include/version.h index 853b155c0724..c8ba0e0da0bb 100644 --- a/src/cmd/ksh93/include/version.h +++ b/src/cmd/ksh93/include/version.h @@ -17,7 +17,7 @@ #include #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