mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Remove SH_NOLOG vestiges
The '-o nolog' option (which prevented function definitions from being recorded in the history file) was removed a long time ago, leaving only a stub for backwards compatibility to stop 'set' from erroring out if the option is set. But some other vestiges remained. src/cmd/ksh93/sh/path.c, src/cmd/ksh93/sh/subshell.c, src/cmd/ksh93/sh/xec.c: - Remove a few pointless 'sh_onstate(SH_NOLOG)' statements. As of 93u+ or earlier, this is never checked for anywhere. src/cmd/ksh93/sh.1: - They forgot to remove the 'nolog' option documentation here. Specify that it's obsolete and has no effect. src/cmd/ksh93/data/builtins.c: sh_set[]: - Be more concise.
This commit is contained in:
parent
dd9bc22928
commit
213fb932c0
5 changed files with 2 additions and 6 deletions
|
@ -7062,7 +7062,7 @@ Same as
|
|||
.BR \-f .
|
||||
.TP 8
|
||||
.B nolog
|
||||
Do not save function definitions in the history file.
|
||||
Obsolete; has no effect.
|
||||
.TP 8
|
||||
.B notify
|
||||
Same as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue