Skip to content

Commit ebdcfcb

Browse files
committed
Release 1.0.2 (re: cd06386)
This release fixes the interactive shell crashing when one of the predefined aliases (currently 'history' and 'r') is redefined, whether from a profile/kshrc script or manually. This crash occurred in two scenarios: 1. when redefining and then unsetting a predefined alias; 2. when redefining a predefined alias and then executing a shell script that does not begin with a #! path. Both are fixed now.
1 parent 1335cbd commit ebdcfcb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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+
2022-08-08:
6+
7+
- Release 1.0.2.
8+
59
2022-08-06:
610

711
- Fixed an interactive shell crashing on redefining, then unsetting one of

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.2-alpha" /* semantic version number: https://semver.org */
21-
#define SH_RELEASE_DATE "2022-08-06" /* must be in this format for $((.sh.version)) */
20+
#define SH_RELEASE_SVER "1.0.2" /* semantic version number: https://semver.org */
21+
#define SH_RELEASE_DATE "2022-08-08" /* must be in this format for $((.sh.version)) */
2222
#define SH_RELEASE_CPYR "(c) 2020-2022 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)