Skip to content

Commit 530bff2

Browse files
committed
Release 1.0.6
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. 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 characters were incorrectly expanded if a pattern contains both a brace expansion and a variable expansion. - Fixed a bug where the command to launch a full-screen editor (^X^E in emacs and 'v' in vi) could cause the wrong command line to be edited if two shell sessions share a .sh_history file. Main changes between ksh 93u+m/1.0.4 and 93u+m/1.0.5: - Fixed various bugs causing crashes. - Fixed many bugs in the emacs and vi line editors, in command completion, and in file name completion. - Fixed various bugs in the handling of quotes, backslash escapes and braces when processing shell glob patterns (e.g. in pathname expansion and 'case'). - ksh now throws a panic and exits if a read error (such as an I/O error) occurs while trying to read the next command(s) from a running script. - Fixed many bugs in 'printf' and 'print -f' built-in commands, including: . Multiple bugs causing incorrect output for relative date specifications, e.g., printf %T\\n 'exactly 20 months ago' now outputs a correct result. . More printf bugs with mix and match of % and %x$. . A data corruption bug when using %B with 'printf -v varname'. . A bug causing double evaluation of arithmetic expressions. - Fixed a bug where 'unset -f commandname', executed in a subshell, hides any built-in command by the same name for the duration of that subshell. - Fixed ${var/#/string} and ${var/%/string} (with anchored empty pattern) to work as on mksh, bash and zsh; these are no longer ineffective. - Fixed incorrect result of array slicing ${array[@]:offset:length} where 'length' is a nested expansion involving an array. - Command names can now end in ':' as they can on other shells. - Fixed a spurious syntax error in compound assignments upon encountering a pair of repeated opening parentheses '(('. - Fixed spurious syntax error in ${parameter:offset:length}: the arithmetic expressions 'offset' and 'length' may now contain the operators ( ) & |. - Fixed a parsing bug in the declaration of .sh.math.* arithmetic functions. - Fixed nameref self-reference loop detection for more than two namerefs. - Several improvements to the POSIX compatibility mode. - Many more minor and/or esoteric bugfixes.
1 parent 1abdbfb commit 530bff2

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

ANNOUNCE

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
Announcing: KornShell 93u+m/1.0.5
1+
Announcing: KornShell 93u+m/1.0.6
22
https://github.com/ksh93/ksh
33

4-
This is the fifth ksh 93u+m/1.0 bugfix release, again with a wide range of
5-
bugfixes and robustness enhancements. Many thanks to all contributors for
6-
their hard work!
4+
Sooner than expected after the fifth, here is the sixth ksh 93u+m/1.0 bugfix
5+
release. 93u+m/1.0.5 brought a wide range of bugfixes and robustness
6+
enhancements, but also introduced a serious regression in pathname
7+
expansion, so that previous release is WITHDRAWN and should not be used.
78

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

73+
### MAIN CHANGES between ksh 93u+m/1.0.5 and 93u+m/1.0.6 ###
74+
75+
- Fixed a serious regression in pathname expansion where quoted wildcard
76+
characters were incorrectly expanded if a pattern contains both a brace
77+
expansion and a variable expansion.
78+
- Fixed a bug where the command to launch a full-screen editor (^X^E in
79+
emacs and 'v' in vi) could cause the wrong command line to be edited
80+
if two shell sessions share a .sh_history file.
81+
7282
### MAIN CHANGES between ksh 93u+m/1.0.4 and 93u+m/1.0.5 ###
7383

7484
- Fixed various bugs causing crashes.

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Uppercase BUG_* IDs are shell bug IDs as used by the Modernish shell library.
44

55
2023-06-13:
66

7+
- Release 1.0.6.
8+
79
- Fixed a serious regression in pathname expansion where quoted wildcard
810
characters were incorrectly expanded if a pattern contains both a brace
911
expansion and a variable expansion.

src/cmd/ksh93/include/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include <releaseflags.h>
1818

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

2424
/* Scripts sometimes field-split ${.sh.version}, so don't change amount of whitespace. */

0 commit comments

Comments
 (0)