1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Fix mkservice compile errors and add SHOPT_MKSERVICE (#401)

The unused mkservice and eloop builtins are currently not built, and if
an attempt to compile them is made the build ends in failure. This
commit backports a few build fixes from ksh93v- 2012-08-24 that allow
mkservice and eloop to build (plus an additional compiler warning fix
not in ksh93v-). I've also added a new SHOPT_MKSERVICE setting (turned
off by default) so that mkservice and eloop can be built if the user
chooses to include them in their build of ksh.
This commit is contained in:
Johnothan King 2021-12-28 08:53:30 -08:00 committed by Martijn Dekker
parent a3ed4c368b
commit 0e197eee57
7 changed files with 37 additions and 4 deletions

3
NEWS
View file

@ -20,6 +20,9 @@ Any uppercase BUG_* names are modernish shell bug IDs.
xtrace (set -x) is on and the $PS4 prompt contains parameter expansions or
command substitutions.
- The mkservice and eloop builtins can now be built by enabling the
new SHOPT_MKSERVICE setting in src/cmd/ksh93/SHOPT.sh.
2021-12-26:
- Listing aliases or tracked aliases in a script no longer corrupts