Skip to content

Commit bd5a924

Browse files
committed
Release 1.0.8
Happy new year! Here is the eighth ksh 93u+m/1.0 bugfix release. 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.
1 parent 505b327 commit bd5a924

File tree

4 files changed

+27
-8
lines changed

4 files changed

+27
-8
lines changed

ANNOUNCE

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
Announcing: KornShell 93u+m/1.0.7
1+
Announcing: KornShell 93u+m/1.0.8
22
https://github.com/ksh93/ksh
33

4-
Here is the seventh ksh 93u+m/1.0 bugfix release. It fixes a hang in
5-
command substitutions when combined with 'exec' and certain redirections.
4+
Here is the eighth ksh 93u+m/1.0 bugfix release. It fixes a bug that caused
5+
an incorrect default exit status for 'exit' within a trap action, as well as
6+
a race condition (introduced in 1.0.7) occurring on some systems when
7+
running an external command with a redirection from a command substitution.
68

79
Further below is an overview of the main changes. For greater detail, see
810
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.
6870
You can also join the mailing list/Google group at:
6971
https://groups.google.com/g/korn-shell
7072

73+
### MAIN CHANGES between ksh 93u+m/1.0.7 and 93u+m/1.0.8 ###
74+
75+
- Fixed a regression in the behavior of 'exit' in a trap action. The exit
76+
status used when no argument is given to 'exit' is now once again the exit
77+
status of the last command executed *before* the trap action.
78+
- Fixed a race condition, introduced in 1.0.7, that occurred on some systems
79+
when running an external command with a standard output redirection from a
80+
command substitution.
81+
- Fixed an init-time crash on failure to trim the shell command history file
82+
due to a non-writable parent directory; ksh now prints a warning instead.
83+
- The 'kill' built-in command now correctly refuses to issue SIGSTOP to the
84+
shell's own process if the shell is a login shell.
85+
7186
### MAIN CHANGES between ksh 93u+m/1.0.6 and 93u+m/1.0.7 ###
7287

7388
- Fixed a hang in command substitutions (introduced in 93u+m/1.0.0) that was

COPYRIGHT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ksh 93u+m general copyright notice
33
########################################################################
44
# #
55
# The KornShell 93u+m distribution #
6-
# Copyright (c) 2020-2023 Contributors to ksh 93u+m #
6+
# Copyright (c) 2020-2024 Contributors to ksh 93u+m #
77
# <https://github.com/ksh93/ksh> #
88
# Derived from AT&T's ast package (see below) #
99
# Licensed under the Eclipse Public License, Version 2.0 #

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ This documents significant changes in the 1.0 branch of ksh 93u+m.
22
For full details, see the git log at: https://github.com/ksh93/ksh/tree/1.0
33
Uppercase BUG_* IDs are shell bug IDs as used by the Modernish shell library.
44

5+
2024-01-01:
6+
7+
- Release 1.0.8.
8+
59
2023-12-28:
610

711
- Fixed intermittent incorrect behaviour (a race condition), introduced on

src/cmd/ksh93/include/version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* *
33
* This software is part of the ast package *
44
* Copyright (c) 1982-2012 AT&T Intellectual Property *
5-
* Copyright (c) 2020-2023 Contributors to ksh 93u+m *
5+
* Copyright (c) 2020-2024 Contributors to ksh 93u+m *
66
* and is licensed under the *
77
* Eclipse Public License, Version 2.0 *
88
* *
@@ -17,9 +17,9 @@
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.8-beta" /* semantic version number: https://semver.org */
21-
#define SH_RELEASE_DATE "2023-12-28" /* must be in this format for $((.sh.version)) */
22-
#define SH_RELEASE_CPYR "(c) 2020-2023 Contributors to ksh " SH_RELEASE_FORK
20+
#define SH_RELEASE_SVER "1.0.8" /* semantic version number: https://semver.org */
21+
#define SH_RELEASE_DATE "2024-01-01" /* must be in this format for $((.sh.version)) */
22+
#define SH_RELEASE_CPYR "(c) 2020-2024 Contributors to ksh " SH_RELEASE_FORK
2323

2424
/* Scripts sometimes field-split ${.sh.version}, so don't change amount of whitespace. */
2525
/* Arithmetic $((.sh.version)) uses the last 10 chars, so the date must be at the end. */

0 commit comments

Comments
 (0)