From ebdcfcbb622430d5262ab064668043c1c4302e09 Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Mon, 8 Aug 2022 10:42:38 +0100 Subject: [PATCH] Release 1.0.2 (re: cd063869) 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. --- NEWS | 4 ++++ src/cmd/ksh93/include/version.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 21c9e6a1fa49..165496a50b89 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. +2022-08-08: + +- Release 1.0.2. + 2022-08-06: - Fixed an interactive shell crashing on redefining, then unsetting one of diff --git a/src/cmd/ksh93/include/version.h b/src/cmd/ksh93/include/version.h index 17699d1e01b8..7a0265db8f0c 100644 --- a/src/cmd/ksh93/include/version.h +++ b/src/cmd/ksh93/include/version.h @@ -17,8 +17,8 @@ #include #define SH_RELEASE_FORK "93u+m" /* only change if you develop a new ksh93 fork */ -#define SH_RELEASE_SVER "1.0.2-alpha" /* semantic version number: https://semver.org */ -#define SH_RELEASE_DATE "2022-08-06" /* must be in this format for $((.sh.version)) */ +#define SH_RELEASE_SVER "1.0.2" /* semantic version number: https://semver.org */ +#define SH_RELEASE_DATE "2022-08-08" /* must be in this format for $((.sh.version)) */ #define SH_RELEASE_CPYR "(c) 2020-2022 Contributors to ksh " SH_RELEASE_FORK /* Scripts sometimes field-split ${.sh.version}, so don't change amount of whitespace. */