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

View file

@ -106,6 +106,11 @@ The options have the following defaults and meanings:
.ExampleSpace.function or ${.ExampleSpace.variable}.
Name spaces within name spaces are also supported.
MKSERVICE off Enables the 'mkservice' builtin which creates a TCP or UDP
server that is implemented by shell functions, and the
'eloop' builtin which causes the shell to block waiting for
events to process. Experimental and probably insecure.
NOECHOE off Disable the '-e' option to the 'echo' command,
unless SHOPT_ECHOPRINT is enabled.