mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Release 1.0.3
This point release mainly fixes the following: - A bug in history expansion (set -H) where any use of the history comment character caused processing to be aborted as if it were an invalid history expansion. Affected e.g. 'echo ${#v}'. - A bug in command line options processing that caused short-form option equivalents on some built-in commands to be ignored after one use, e.g., the new read -a equivalent of read -A. - Ksh freezing or using excessive memory if HISTSIZE is assigned a pathologically large value. - A bug that caused ksh in the vi editor mode to crash or produce invalid completions if ESC = was used at the beginning of a line.
This commit is contained in:
parent
713260340b
commit
b16c91f012
10 changed files with 56 additions and 23 deletions
51
ANNOUNCE
51
ANNOUNCE
|
@ -1,18 +1,10 @@
|
||||||
Announcing: KornShell 93u+m/1.0.0
|
Announcing: KornShell 93u+m/1.0.3
|
||||||
https://github.com/ksh93/ksh
|
https://github.com/ksh93/ksh
|
||||||
_ _ ___ _____ ___ ___ ___
|
|
||||||
| | _____| |__ / _ \___ / _ _ _ _ __ ___ / / | / _ \ / _ \
|
|
||||||
| |/ / __| '_ \ | (_) ||_ \| | | |_| |_| '_ ` _ \ / /| || | | | | | |
|
|
||||||
| <\__ \ | | | \__, |__) | |_| |_ _| | | | | |/ / | || |_| | |_| |
|
|
||||||
|_|\_\___/_| |_| /_/____/ \__,_| |_| |_| |_| |_/_/ |_(_)___(_)___/
|
|
||||||
|
|
||||||
It may have been exactly a decade since the last one, but here it is at last:
|
This is the third bugfix release in the ksh 93u+m/1.0 series. Many thanks to
|
||||||
a proper new ksh release. :) Many thanks to all contributors for their hard
|
all contributors for their hard work! Compared to an unpatched ksh 93u+
|
||||||
work! Compared to an unpatched ksh 93u+ 2012-08-01, this release has roughly
|
2012-08-01, this release has roughly a thousand bugs fixed. It incorporates
|
||||||
a thousand bugs fixed. It incorporates a fair number of enhancements as well.
|
a fair number of enhancements as well.
|
||||||
|
|
||||||
This being an initial release, not all known bugs have been worked out yet.
|
|
||||||
Let's hope this release will rekindle interest and attract more bug hunters.
|
|
||||||
|
|
||||||
### CONTRIBUTORS ###
|
### CONTRIBUTORS ###
|
||||||
|
|
||||||
|
@ -27,7 +19,7 @@ Also includes backported contributions by: David Korn, Glenn Fowler,
|
||||||
Lefteris Koutsofios, Siteshwar Vashisht, Kurtis Rader, Roland Mainz,
|
Lefteris Koutsofios, Siteshwar Vashisht, Kurtis Rader, Roland Mainz,
|
||||||
Finnbarr P. Murphy, Lijo George, OpenSUSE ksh 93u+ patch authors, Red Hat
|
Finnbarr P. Murphy, Lijo George, OpenSUSE ksh 93u+ patch authors, Red Hat
|
||||||
ksh 93u+ path authors, Solaris ksh 93u+ patch authors, Debian ksh 93u+
|
ksh 93u+ path authors, Solaris ksh 93u+ patch authors, Debian ksh 93u+
|
||||||
patch authors, Apple ksh 93u+ patch authors
|
patch authors, Apple ksh 93u+ patch authors, Graphviz maintainers
|
||||||
|
|
||||||
Many fixes have also been backported from the AT&T 93v- beta as well as
|
Many fixes have also been backported from the AT&T 93v- beta as well as
|
||||||
the former ksh2020 project lead by Kurtis Rader and Siteshwar Vashisht;
|
the former ksh2020 project lead by Kurtis Rader and Siteshwar Vashisht;
|
||||||
|
@ -50,6 +42,37 @@ To get involved in development, read the brief policy information in
|
||||||
README.md and then jump right in with a pull request or email a patch.
|
README.md and then jump right in with a pull request or email a patch.
|
||||||
See the TODO file in the top-level directory for a to-do list.
|
See the TODO file in the top-level directory for a to-do list.
|
||||||
|
|
||||||
|
### MAIN CHANGES between ksh 93u+m 1.0.2 and 1.0.3 ###
|
||||||
|
|
||||||
|
This point release fixes the following:
|
||||||
|
- An old bug in history expansion (set -H) where any use of the history
|
||||||
|
comment character caused processing to be aborted as if it were an invalid
|
||||||
|
history expansion.
|
||||||
|
- A bug in command line options processing that caused short-form
|
||||||
|
option equivalents on some built-in commands to be ignored after one use,
|
||||||
|
e.g., the new read -a equivalent of read -A.
|
||||||
|
- Ksh freezing or using excessive memory if HISTSIZE is assigned a
|
||||||
|
pathologically large value.
|
||||||
|
- A bug that caused ksh in the vi editor mode to crash or produce invalid
|
||||||
|
completions if ESC = was used at the beginning of a line.
|
||||||
|
|
||||||
|
### MAIN CHANGES between ksh 93u+m 1.0.1 and 1.0.2 ###
|
||||||
|
|
||||||
|
This bugfix 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.
|
||||||
|
|
||||||
|
### MAIN CHANGES between ksh 93u+m 1.0.0 and 1.0.1 ###
|
||||||
|
|
||||||
|
This is an urgent bugfix release that removes an incorrect exec
|
||||||
|
optimization that was capable of terminating the execution of scripts
|
||||||
|
prematurely in certain corner cases. It is known to make the build scripts
|
||||||
|
of GNU binutils produce corrupted results if ksh is used as /bin/sh.
|
||||||
|
See https://github.com/ksh93/ksh/issues/507 for more information.
|
||||||
|
|
||||||
### MAIN CHANGES between ksh 93u+ 2012-08-01 and 93u+m/1.0.0 ###
|
### MAIN CHANGES between ksh 93u+ 2012-08-01 and 93u+m/1.0.0 ###
|
||||||
|
|
||||||
Roughly a thousand bugs have been fixed, including many serious/critical
|
Roughly a thousand bugs have been fixed, including many serious/critical
|
||||||
|
|
|
@ -20,13 +20,13 @@ ksh 93u+m general copyright notice
|
||||||
# Anuradha Weeraman <anuradha@debian.org> #
|
# Anuradha Weeraman <anuradha@debian.org> #
|
||||||
# Lev Kujawski <int21h@mailbox.org> #
|
# Lev Kujawski <int21h@mailbox.org> #
|
||||||
# atheik <14833674+atheik@users.noreply.github.com> #
|
# atheik <14833674+atheik@users.noreply.github.com> #
|
||||||
|
# K. Eugene Carlson <kvngncrlsn@gmail.com> #
|
||||||
# Ryan Schmidt <ryandesign@macports.org> #
|
# Ryan Schmidt <ryandesign@macports.org> #
|
||||||
# Chase <nicetrynsa@protonmail.ch> #
|
# Chase <nicetrynsa@protonmail.ch> #
|
||||||
# Vincent Mihalkovic <vmihalko@redhat.com> #
|
# Vincent Mihalkovic <vmihalko@redhat.com> #
|
||||||
# Trey Valenta <t@trey.net> #
|
# Trey Valenta <t@trey.net> #
|
||||||
# Sterling Jensen <5555776+sterlingjensen@users.noreply.github.com> #
|
# Sterling Jensen <5555776+sterlingjensen@users.noreply.github.com> #
|
||||||
# Marc Wilson <posguy99@gmail.com> #
|
# Marc Wilson <posguy99@gmail.com> #
|
||||||
# K. Eugene Carlson <kvngncrlsn@gmail.com> #
|
|
||||||
# Harald van Dijk <harald@gigawatt.nl> #
|
# Harald van Dijk <harald@gigawatt.nl> #
|
||||||
# Govind Kamat <govind_kamat@yahoo.com> #
|
# Govind Kamat <govind_kamat@yahoo.com> #
|
||||||
# Andy Fiddaman <andy@omniosce.org> #
|
# Andy Fiddaman <andy@omniosce.org> #
|
||||||
|
@ -46,6 +46,7 @@ ksh 93u+m general copyright notice
|
||||||
# Solaris ksh 93u+ patch authors #
|
# Solaris ksh 93u+ patch authors #
|
||||||
# Debian ksh 93u+ patch authors #
|
# Debian ksh 93u+ patch authors #
|
||||||
# Apple ksh 93u+ patch authors #
|
# Apple ksh 93u+ patch authors #
|
||||||
|
# Graphviz maintainers (libast, sfio) #
|
||||||
# #
|
# #
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
|
|
7
NEWS
7
NEWS
|
@ -2,6 +2,13 @@ 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
|
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.
|
Uppercase BUG_* IDs are shell bug IDs as used by the Modernish shell library.
|
||||||
|
|
||||||
|
2022-08-25:
|
||||||
|
|
||||||
|
- Release 1.0.3.
|
||||||
|
|
||||||
|
- In the vi line editor, a bug was fixed that caused erratic behaviour after
|
||||||
|
using the 0 or ^ commands when already at the beginning of the command line.
|
||||||
|
|
||||||
2022-08-24:
|
2022-08-24:
|
||||||
|
|
||||||
- Fixed a bug that caused ksh in the vi editor mode to crash or produce
|
- Fixed a bug that caused ksh in the vi editor mode to crash or produce
|
||||||
|
|
8
TODO
8
TODO
|
@ -1,4 +1,4 @@
|
||||||
The following bugs and issues are known for ksh 93u+m 1.0.0-rc1:
|
The following bugs and issues are known for ksh 93u+m 1.0.3:
|
||||||
|
|
||||||
Memory leak when initialising associative array in subshell
|
Memory leak when initialising associative array in subshell
|
||||||
https://github.com/ksh93/ksh/issues/94
|
https://github.com/ksh93/ksh/issues/94
|
||||||
|
@ -36,9 +36,6 @@ https://github.com/ksh93/ksh/issues/313
|
||||||
bug in printf when %b and %x$ are used in same format
|
bug in printf when %b and %x$ are used in same format
|
||||||
https://github.com/ksh93/ksh/issues/324
|
https://github.com/ksh93/ksh/issues/324
|
||||||
|
|
||||||
namespaces don't work properly when defined within functions
|
|
||||||
https://github.com/ksh93/ksh/issues/325
|
|
||||||
|
|
||||||
Associative arrays of various types fail to be unset
|
Associative arrays of various types fail to be unset
|
||||||
https://github.com/ksh93/ksh/issues/345
|
https://github.com/ksh93/ksh/issues/345
|
||||||
|
|
||||||
|
@ -68,3 +65,6 @@ https://github.com/ksh93/ksh/issues/484
|
||||||
|
|
||||||
Shell quoting within bracket patterns has no effect
|
Shell quoting within bracket patterns has no effect
|
||||||
https://github.com/ksh93/ksh/issues/488
|
https://github.com/ksh93/ksh/issues/488
|
||||||
|
|
||||||
|
OPTIND not initialised correctly on Solaris/SPARC when compiled with gcc
|
||||||
|
https://github.com/ksh93/ksh/issues/515
|
||||||
|
|
|
@ -90,8 +90,6 @@ by appending them to the `make` or `done` command:
|
||||||
By convention, a virtual rule named `all` makes everything,
|
By convention, a virtual rule named `all` makes everything,
|
||||||
and a virtual rule named `install` performs installation.
|
and a virtual rule named `install` performs installation.
|
||||||
|
|
||||||
Unrecognized attributes produce a warning and are then ignored.
|
|
||||||
|
|
||||||
### Referencing previously defined rules ###
|
### Referencing previously defined rules ###
|
||||||
|
|
||||||
`prev` *rule* [ *attribute* ... ]
|
`prev` *rule* [ *attribute* ... ]
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
* *
|
* *
|
||||||
* David Korn <dgk@research.att.com> *
|
* David Korn <dgk@research.att.com> *
|
||||||
* Martijn Dekker <martijn@inlv.org> *
|
* Martijn Dekker <martijn@inlv.org> *
|
||||||
|
* Johnothan King <johnothanking@protonmail.com> *
|
||||||
* *
|
* *
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
* David Korn <dgk@research.att.com> *
|
* David Korn <dgk@research.att.com> *
|
||||||
* Martijn Dekker <martijn@inlv.org> *
|
* Martijn Dekker <martijn@inlv.org> *
|
||||||
* Johnothan King <johnothanking@protonmail.com> *
|
* Johnothan King <johnothanking@protonmail.com> *
|
||||||
|
* K. Eugene Carlson <kvngncrlsn@gmail.com> *
|
||||||
* *
|
* *
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
/* Original version by Michael T. Veach
|
/* Original version by Michael T. Veach
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
#include <releaseflags.h>
|
#include <releaseflags.h>
|
||||||
|
|
||||||
#define SH_RELEASE_FORK "93u+m" /* only change if you develop a new ksh93 fork */
|
#define SH_RELEASE_FORK "93u+m" /* only change if you develop a new ksh93 fork */
|
||||||
#define SH_RELEASE_SVER "1.0.3-alpha" /* semantic version number: https://semver.org */
|
#define SH_RELEASE_SVER "1.0.3" /* semantic version number: https://semver.org */
|
||||||
#define SH_RELEASE_DATE "2022-08-24" /* must be in this format for $((.sh.version)) */
|
#define SH_RELEASE_DATE "2022-08-25" /* must be in this format for $((.sh.version)) */
|
||||||
#define SH_RELEASE_CPYR "(c) 2020-2022 Contributors to ksh " SH_RELEASE_FORK
|
#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. */
|
/* Scripts sometimes field-split ${.sh.version}, so don't change amount of whitespace. */
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
* Glenn Fowler <gsf@research.att.com> *
|
* Glenn Fowler <gsf@research.att.com> *
|
||||||
* David Korn <dgk@research.att.com> *
|
* David Korn <dgk@research.att.com> *
|
||||||
* Martijn Dekker <martijn@inlv.org> *
|
* Martijn Dekker <martijn@inlv.org> *
|
||||||
|
* Johnothan King <johnothanking@protonmail.com> *
|
||||||
* *
|
* *
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
* Glenn Fowler <gsf@research.att.com> *
|
* Glenn Fowler <gsf@research.att.com> *
|
||||||
* David Korn <dgk@research.att.com> *
|
* David Korn <dgk@research.att.com> *
|
||||||
* Martijn Dekker <martijn@inlv.org> *
|
* Martijn Dekker <martijn@inlv.org> *
|
||||||
|
* Johnothan King <johnothanking@protonmail.com> *
|
||||||
* *
|
* *
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue