From 5683155cb53197edf3893788ec9ad9bf76d148cc Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Tue, 22 Sep 2020 01:42:15 +0200 Subject: [PATCH] update NEWS, SH_RELEASE (re: 970069a6) --- NEWS | 6 ++++++ src/cmd/ksh93/include/version.h | 2 +- src/cmd/ksh93/tests/subshell.sh | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 106e5cf71..0340d645f 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,12 @@ For full details, see the git log at: https://github.com/ksh93/ksh Any uppercase BUG_* names are modernish shell bug IDs. +2020-09-21: + +- A bug was fixed that caused command substitutions embedded in here-documents + to lose the output of the commands they ran. This bug occurred when ksh was + compiled with the SHOPT_SPAWN compile-time option. + 2020-09-20: - Bugfix: when whence -v/-a found an "undefined" (i.e. autoloadable) function diff --git a/src/cmd/ksh93/include/version.h b/src/cmd/ksh93/include/version.h index d995111c7..065fea5d7 100644 --- a/src/cmd/ksh93/include/version.h +++ b/src/cmd/ksh93/include/version.h @@ -17,4 +17,4 @@ * David Korn * * * ***********************************************************************/ -#define SH_RELEASE "93u+m 2020-09-20" +#define SH_RELEASE "93u+m 2020-09-21" diff --git a/src/cmd/ksh93/tests/subshell.sh b/src/cmd/ksh93/tests/subshell.sh index cd20387d5..802071376 100755 --- a/src/cmd/ksh93/tests/subshell.sh +++ b/src/cmd/ksh93/tests/subshell.sh @@ -759,7 +759,7 @@ SHELL=$SHELL "$SHELL" -c ' ' | awk '/^DEBUG/ { pid[NR] = $2; } END { exit !(pid[1] == pid[2] && pid[2] == pid[3]); }' \ || err_exit "setting PATH to readonly in subshell triggers an erroneous fork" -# ======' +# ====== # Test command substitution with external command in here-document # https://github.com/ksh93/ksh/issues/104 expect=$'/dev/null\n/dev/null'