mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Disable SHOPT_KIA (ksh -R) by default
SHOPT_KIA enables the -R option that generates a cross-reference database from a script. However, no tool to analyse this database is shipped or seems to be available anywhere (in spite of multiple people looking for one), and the format is very opaque. No usage examples are known or findable on the internet. This seems like it should not be compiled in by default, although we'll keep the code in case some way to use it is found. src/cmd/ksh93/SHOPT.sh: - Disable SHOPT_KIA by default by removing the default 1 value. src/cmd/ksh93/sh/args.c, src/cmd/ksh93/sh/parse.c: - Fix a couple of preprocessor logic bugs that made it impossible to compile ksh without SHOPT_KIA. src/cmd/ksh93/data/builtins.c: - Fix typo in -R doc in ksh --man (in case SHOPT_KIA is enabled). src/cmd/ksh93/sh.1: - Since sh.1 is not generated dynamically, remove the -R doc.
This commit is contained in:
parent
0a9c6fd771
commit
d2cc520883
5 changed files with 5 additions and 18 deletions
|
@ -1538,7 +1538,7 @@ USAGE_LICENSE
|
|||
#endif
|
||||
#if SHOPT_KIA
|
||||
"[R]:[file?Do not execute the script, but create a cross reference database "
|
||||
"in \afile\a that can be used a separate shell script browser. The "
|
||||
"in \afile\a that can be used in a separate shell script browser. The "
|
||||
"-R option requires a script to be specified as the first operand.]"
|
||||
#endif /* SHOPT_KIA */
|
||||
#if SHOPT_REGRESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue