Skip to content

Commit

Permalink
Release 1.0.8
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
McDutchie committed Jan 1, 2024
1 parent 505b327 commit bd5a924
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 8 deletions.
21 changes: 18 additions & 3 deletions ANNOUNCE
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
# <https://github.com/ksh93/ksh> #
# Derived from AT&T's ast package (see below) #
# Licensed under the Eclipse Public License, Version 2.0 #
Expand Down
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/cmd/ksh93/include/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
* *
Expand All @@ -17,9 +17,9 @@
#include <releaseflags.h>

#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. */
Expand Down

0 comments on commit bd5a924

Please sign in to comment.