-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Fix SHOPT_KIA after sh_lexopen() full reset change (re: 2e000c9)
It broke SHOPT_KIA, which (when enabled) adds its own lexer struct data, which should not ever be reset for ksh's -R option to work. This was not noticed sooner because SHOPT_KIA code is not compiled in by default (it needs to be enabled in SHOPT.sh). I could revert that commit, but I'd rather divorce the KIA stuff from the lexer struct. src/cmd/ksh93/include/shlex.h, src/cmd/ksh93/sh/defs.c: - Sepaerate all the KIA stuff into one struct type named Kia_t. - Declare a global Kia_t variable named 'kia'. src/cmd/ksh93/sh/{lex,parse,args}.c: - Update all references to KIA-related lexer struct members.
Showing
6 changed files
with
95 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters