diff --git a/ANNOUNCE b/ANNOUNCE index 1f1ed137220a..683553d956da 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,8 +1,10 @@ -Announcing: KornShell 93u+m/1.0.7 +Announcing: KornShell 93u+m/1.0.8 https://github.com/ksh93/ksh -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. +Here is the eighth ksh 93u+m/1.0 bugfix release. It fixes a bug that caused +an incorrect default exit status for 'exit' within a trap action, as well as +a race condition (introduced in 1.0.7) occurring on some systems when +running an external command with a redirection from a command substitution. 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) @@ -68,6 +70,19 @@ 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.7 and 93u+m/1.0.8 ### + +- Fixed a regression in the behavior of 'exit' in a trap action. The exit + status used when no argument is given to 'exit' is now once again the exit + status of the last command executed *before* the trap action. +- Fixed a race condition, introduced in 1.0.7, that occurred on some systems + when running an external command with a standard output redirection from a + command substitution. +- Fixed an init-time crash on failure to trim the shell command history file + due to a non-writable parent directory; ksh now prints a warning instead. +- The 'kill' built-in command now correctly refuses to issue SIGSTOP to the + shell's own process if the shell is a login 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 diff --git a/COPYRIGHT b/COPYRIGHT index dda32d5c04f8..ff394bd4e971 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -3,7 +3,7 @@ ksh 93u+m general copyright notice ######################################################################## # # # The KornShell 93u+m distribution # -# Copyright (c) 2020-2023 Contributors to ksh 93u+m # +# Copyright (c) 2020-2024 Contributors to ksh 93u+m # # # # Derived from AT&T's ast package (see below) # # Licensed under the Eclipse Public License, Version 2.0 # diff --git a/NEWS b/NEWS index 108427cbb5b8..5d1be9a90a96 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,10 @@ This documents significant changes in the 1.0 branch of ksh 93u+m. For full details, see the git log at: https://github.com/ksh93/ksh/tree/1.0 Uppercase BUG_* IDs are shell bug IDs as used by the Modernish shell library. +2024-01-01: + +- Release 1.0.8. + 2023-12-28: - Fixed intermittent incorrect behaviour (a race condition), introduced on diff --git a/src/cmd/ksh93/include/version.h b/src/cmd/ksh93/include/version.h index ff533261ee33..17aef2797a2e 100644 --- a/src/cmd/ksh93/include/version.h +++ b/src/cmd/ksh93/include/version.h @@ -2,7 +2,7 @@ * * * This software is part of the ast package * * Copyright (c) 1982-2012 AT&T Intellectual Property * -* Copyright (c) 2020-2023 Contributors to ksh 93u+m * +* Copyright (c) 2020-2024 Contributors to ksh 93u+m * * and is licensed under the * * Eclipse Public License, Version 2.0 * * * @@ -17,9 +17,9 @@ #include #define SH_RELEASE_FORK "93u+m" /* only change if you develop a new ksh93 fork */ -#define SH_RELEASE_SVER "1.0.8-beta" /* semantic version number: https://semver.org */ -#define SH_RELEASE_DATE "2023-12-28" /* must be in this format for $((.sh.version)) */ -#define SH_RELEASE_CPYR "(c) 2020-2023 Contributors to ksh " SH_RELEASE_FORK +#define SH_RELEASE_SVER "1.0.8" /* semantic version number: https://semver.org */ +#define SH_RELEASE_DATE "2024-01-01" /* must be in this format for $((.sh.version)) */ +#define SH_RELEASE_CPYR "(c) 2020-2024 Contributors to ksh " SH_RELEASE_FORK /* Scripts sometimes field-split ${.sh.version}, so don't change amount of whitespace. */ /* Arithmetic $((.sh.version)) uses the last 10 chars, so the date must be at the end. */